# predicates-rs
> An implementation of **boolean-valued predicate functions** in Rust.
[](https://docs.rs/predicates)

[](https://crates.io/crates/predicates)
[Changelog](https://github.com/assert-rs/predicates-rs/blob/master/CHANGELOG.md)
## Usage
First, add this to your `Cargo.toml`:
```toml
[dependencies]
predicates = "3.1.3"
```
Next, add this to your crate:
```rust
extern crate predicates;
use predicates::prelude::*;
```
For more information on using predicates, look at the
[documentation](https://docs.rs/predicates)
## License
`predicates-rs` is distributed under the terms of both the MIT license and the
Apache License (Version 2.0).
* Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or <http://www.apache.org/licenses/LICENSE-2.0>)
* MIT license ([LICENSE-MIT](LICENSE-MIT) or <http://opensource.org/licenses/MIT>)
## Credits
Big thanks to [futures-rs](https://github.com/alexcrichton/futures-rs), whose
slick API design informed a lot of decisions made on the API design of this
library.