| Name | Date | Size | #Lines | LOC | ||
|---|---|---|---|---|---|---|
| .. | - | - | ||||
| examples/ | 06-Sep-2024 | - | 14 | 11 | ||
| patches/ | 06-Sep-2024 | - | 316 | 303 | ||
| src/ | 06-Sep-2024 | - | 3,690 | 2,231 | ||
| .cargo_vcs_info.json | D | 06-Sep-2024 | 94 | 6 | 6 | |
| Android.bp | D | 06-Sep-2024 | 1.3 KiB | 57 | 54 | |
| Cargo.lock | D | 06-Sep-2024 | 4.6 KiB | 175 | 153 | |
| Cargo.toml | D | 06-Sep-2024 | 2.9 KiB | 138 | 119 | |
| LICENSE | D | 06-Sep-2024 | 11.1 KiB | 202 | 169 | |
| LICENSE-APACHE | D | 06-Sep-2024 | 11.1 KiB | 202 | 169 | |
| LICENSE-MIT | D | 06-Sep-2024 | 1 KiB | 20 | 16 | |
| METADATA | D | 06-Sep-2024 | 502 | 21 | 20 | |
| MODULE_LICENSE_APACHE2 | D | 06-Sep-2024 | 0 | |||
| OWNERS | D | 06-Sep-2024 | 69 | 3 | 2 | |
| README.md | D | 06-Sep-2024 | 1.1 KiB | 46 | 27 | |
| cargo_embargo.json | D | 06-Sep-2024 | 88 | 9 | 8 |
README.md
1# predicates-rs 2 3> An implementation of **boolean-valued predicate functions** in Rust. 4 5[](https://docs.rs/predicates) 6 7[](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