commit | bc9fa72e592f6dc45806077d359ef17693927561 | [log] [tgz] |
---|---|---|
author | Martin Geisler <mgeisler@google.com> | Thu Nov 16 12:23:17 2023 +0100 |
committer | Martin Geisler <mgeisler@google.com> | Thu Nov 16 12:23:17 2023 +0100 |
tree | 9c83e78ea74d26fe63d5098dc969275517eeaa93 | |
parent | 1b60f813442a22a324c7e43628f2da2c42adda9e [diff] |
Import 'predicates' crate Request Document: go/android-rust-importing-crates For CL Reviewers: go/android3p#cl-review For Build Team: go/ab-third-party-imports Bug: 310602145 Change-Id: Ia60caeea1e8284c27bc759ac33db995aba18d96a
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.