tree: 04b82ce87b825390335bb86f14c6de4c43dd3447 [path history] [tgz]
  1. examples/
  2. patches/
  3. src/
  4. .android-checksum.json
  5. .cargo-checksum.json
  6. Android.bp
  7. Cargo.lock
  8. Cargo.toml
  9. cargo_embargo.json
  10. LICENSE-APACHE
  11. LICENSE-MIT
  12. METADATA
  13. MODULE_LICENSE_APACHE2
  14. README.md
  15. TEST_MAPPING
crates/predicates/README.md

predicates-rs

An implementation of boolean-valued predicate functions in Rust.

Documentation License Crates.io

Changelog

Usage

First, add this to your Cargo.toml:

[dependencies]
predicates = "3.0.4"

Next, add this to your crate:

extern crate predicates;

use predicates::prelude::*;

For more information on using predicates, look at the documentation

License

predicates-rs is distributed under the terms of both the MIT license and the Apache License (Version 2.0).

See LICENSE-APACHE, and LICENSE-MIT for details.

Credits

Big thanks to futures-rs, whose slick API design informed a lot of decisions made on the API design of this library.