• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

examples/25-Apr-2025-1411

patches/25-Apr-2025-118108

src/25-Apr-2025-3,6902,231

.cargo-checksum.jsonD25-Apr-20252.6 KiB11

Android.bpD25-Apr-20251.5 KiB6762

Cargo.lockD25-Apr-20253.6 KiB141123

Cargo.tomlD25-Apr-20252.9 KiB138119

LICENSED25-Apr-202511.1 KiB202169

LICENSE-APACHED25-Apr-202511.1 KiB202169

LICENSE-MITD25-Apr-20251 KiB2016

METADATAD25-Apr-2025404 1817

MODULE_LICENSE_APACHE2D25-Apr-20250

README.mdD25-Apr-20251.1 KiB4627

TEST_MAPPINGD25-Apr-202578 87

cargo_embargo.jsonD25-Apr-202588 98

README.md

1# predicates-rs
2
3> An implementation of **boolean-valued predicate functions** in Rust.
4
5[![Documentation](https://img.shields.io/badge/docs-master-blue.svg)](https://docs.rs/predicates)
6![License](https://img.shields.io/crates/l/predicates.svg)
7[![Crates.io](https://img.shields.io/crates/v/predicates.svg?maxAge=2592000)](https://crates.io/crates/predicates)
8
9[Changelog](https://github.com/assert-rs/predicates-rs/blob/master/CHANGELOG.md)
10
11
12## Usage
13
14First, add this to your `Cargo.toml`:
15
16```toml
17[dependencies]
18predicates = "3.0.4"
19```
20
21Next, add this to your crate:
22
23```rust
24extern crate predicates;
25
26use predicates::prelude::*;
27```
28
29For more information on using predicates, look at the
30[documentation](https://docs.rs/predicates)
31
32
33## License
34
35`predicates-rs` is distributed under the terms of both the MIT license and the
36Apache License (Version 2.0).
37
38See LICENSE-APACHE, and LICENSE-MIT for details.
39
40
41## Credits
42
43Big thanks to [futures-rs](https://github.com/alexcrichton/futures-rs), whose
44slick API design informed a lot of decisions made on the API design of this
45library.
46