Crates.io | predicates |
lib.rs | predicates |
version | 3.1.2 |
source | src |
created_at | 2017-06-02 17:07:01.532559 |
updated_at | 2024-07-25 14:35:25.727328 |
description | An implementation of boolean-valued predicate functions. |
homepage | https://github.com/assert-rs/predicates-rs |
repository | https://github.com/assert-rs/predicates-rs |
max_upload_size | |
id | 17355 |
size | 134,186 |
An implementation of boolean-valued predicate functions in Rust.
First, add this to your Cargo.toml
:
[dependencies]
predicates = "3.1.2"
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).
Big thanks to futures-rs, whose slick API design informed a lot of decisions made on the API design of this library.