#predicate #boolean #combinatorial #match #logic

dev predicates

An implementation of boolean-valued predicate functions

12 releases (3 stable)

✓ Uses Rust 2018 edition

new 1.0.2 Nov 18, 2019
1.0.1 Apr 22, 2019
1.0.0 Oct 6, 2018
0.9.1 Oct 6, 2018
0.3.0 Jun 26, 2017

#17 in Data structures

Download history 3212/week @ 2019-08-05 2418/week @ 2019-08-12 2577/week @ 2019-08-19 3228/week @ 2019-08-26 4160/week @ 2019-09-02 2965/week @ 2019-09-09 4830/week @ 2019-09-16 3473/week @ 2019-09-23 3745/week @ 2019-09-30 4165/week @ 2019-10-07 3798/week @ 2019-10-14 5807/week @ 2019-10-21 5512/week @ 2019-10-28 6696/week @ 2019-11-04 5062/week @ 2019-11-11

18,509 downloads per month
Used in 115 crates (65 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.2"

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

~2MB
~45K SLoC