commit | 4d7f334de8424f0d0d2be8d8263f8e8de6041b83 | [log] [tgz] |
---|---|---|
author | Treehugger Robot <[email protected]> | Thu Dec 14 12:25:26 2023 +0000 |
committer | Automerger Merge Worker <[email protected]> | Thu Dec 14 12:25:26 2023 +0000 |
tree | 631ee33a3d70f55f47d6646dbdf7345e87a29909 | |
parent | 889fe0cde047ffe3252925df194b2b8469b3c400 [diff] | |
parent | bd2f48b8e70194ca98b0e2da2e9aba0d32bc91c7 [diff] |
Merge "Migrate to cargo_embargo." into main am: c10e772665 am: 7ae6acf5b3 am: bd2f48b8e7 Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/predicates/+/2871180 Change-Id: I4e9342852cfba147e3907e51934e27d51c911a95 Signed-off-by: Automerger Merge Worker <[email protected]>
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.