Merge "Migrate to cargo_embargo." into main am: c10e772665 am: 7ae6acf5b3

Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/predicates/+/2871180

Change-Id: I9861eb256ec89866ed6359cc30d5912eb53a42aa
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
tree: 631ee33a3d70f55f47d6646dbdf7345e87a29909
  1. examples/
  2. patches/
  3. src/
  4. .cargo_vcs_info.json
  5. Android.bp
  6. Cargo.lock
  7. Cargo.toml
  8. cargo_embargo.json
  9. LICENSE-APACHE
  10. LICENSE-MIT
  11. METADATA
  12. MODULE_LICENSE_APACHE2
  13. OWNERS
  14. README.md
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.