assert-rs/predicates-rs

Boolean-valued predicate functions in Rust

Rust

213

704 commits

updated Sep 14, 2026

See the code

README

predicates-rs

An implementation of boolean-valued predicate functions in Rust.

Documentation License Crates.io

Changelog

Usage

First, add this to your Cargo.toml:

[dependencies]
predicates = "3.1.4"

Next, add this to your crate:

extern crate predicates;

use predicates::prelude::*;

For more information on using predicates, look at the documentation

License

Licensed under either of

at your option.

Credits

Big thanks to futures-rs, whose slick API design informed a lot of decisions made on the API design of this library.

predicates
rust
testing

Significant stargazers

Mazdak Farrokhzad

276 followers · starred Sep 2017

Alex Chi Z

8,410 followers · starred May 2023

Martin Nordholts

132 followers · starred May 2021

Louis Maddox

214 followers · starred May 2025

assert-rs/predicates-rs

Boolean-valued predicate functions in Rust

Rust

213

704 commits

updated Sep 14, 2026

See the code

README

predicates-rs

An implementation of boolean-valued predicate functions in Rust.

Documentation License Crates.io

Changelog

Usage

First, add this to your Cargo.toml:

[dependencies]
predicates = "3.1.4"

Next, add this to your crate:

extern crate predicates;

use predicates::prelude::*;

For more information on using predicates, look at the documentation

License

Licensed under either of

at your option.

Credits

Big thanks to futures-rs, whose slick API design informed a lot of decisions made on the API design of this library.

predicates
rust
testing

Significant stargazers

Mazdak Farrokhzad

276 followers · starred Sep 2017

Alex Chi Z

8,410 followers · starred May 2023

Martin Nordholts

132 followers · starred May 2021

Louis Maddox

214 followers · starred May 2025

Languages

Rust

100.0%