#predicate #boolean #combinatorial #match #logic

dev predicates

An implementation of boolean-valued predicate functions

14 releases (5 stable)

✓ Uses Rust 2018 edition

1.0.4 Mar 4, 2020
1.0.2 Nov 18, 2019
1.0.1 Apr 22, 2019
1.0.0 Oct 6, 2018
0.3.0 Jun 26, 2017

#8 in Data structures

Download history 5495/week @ 2019-12-17 3333/week @ 2019-12-24 4563/week @ 2019-12-31 6526/week @ 2020-01-07 8246/week @ 2020-01-14 7367/week @ 2020-01-21 6968/week @ 2020-01-28 7675/week @ 2020-02-04 7937/week @ 2020-02-11 6119/week @ 2020-02-18 8481/week @ 2020-02-25 9800/week @ 2020-03-03 9213/week @ 2020-03-10 11504/week @ 2020-03-17 10426/week @ 2020-03-24 10347/week @ 2020-03-31

29,232 downloads per month
Used in 202 crates (104 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.4"

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
~44K SLoC