15 releases (6 stable)

1.0.5 Jul 18, 2020
1.0.4 Mar 4, 2020
1.0.3 Feb 25, 2020
1.0.2 Nov 18, 2019
0.3.0 Jun 26, 2017

#7 in Data structures

Download history 11412/week @ 2020-04-13 14151/week @ 2020-04-20 12715/week @ 2020-04-27 11857/week @ 2020-05-04 16384/week @ 2020-05-11 13632/week @ 2020-05-18 15000/week @ 2020-05-25 15606/week @ 2020-06-01 16758/week @ 2020-06-08 20707/week @ 2020-06-15 17161/week @ 2020-06-22 16131/week @ 2020-06-29 17422/week @ 2020-07-06 17335/week @ 2020-07-13 16212/week @ 2020-07-20 19094/week @ 2020-07-27

67,602 downloads per month
Used in 257 crates (144 directly)

MIT/Apache

115KB
2K SLoC

predicates-rs

An implementation of boolean-valued predicate functions in Rust.

Build Status Documentation License Crates.io

Changelog

Usage

First, add this to your Cargo.toml:

[dependencies]
predicates = "1.0.5"

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.

Dependencies

~1.5MB
~41K SLoC