Migrate to cargo_embargo. Bug: 293289578 Test: Ran cargo_embargo, compared Android.bp Change-Id: I8257ca4ea5fcd7db899cf99e8b292d7dd8500fac
An implementation of boolean-valued predicate functions in Rust.
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
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.
Big thanks to futures-rs, whose slick API design informed a lot of decisions made on the API design of this library.