rustio rustio.net
77

predicates

v3.1.4 Stable

An implementation of boolean-valued predicate functions.

MIT OR Apache-2.0 Edition 2021 MSRV 1.74
Data structuresRust patterns #logic#boolean#match#predicate#combinatorial

Quick Verdict

  • โœ“Actively maintained (updated 44d ago)
  • โœ“Stable API (3.x for 8+ years)
  • โœ“Massive adoption (24.1K crates depend on it)
  • โœ“Permissive license (MIT OR Apache-2.0)

Security

Checking security advisories...
Downloads
147.2M
Dependents
24.1K
Releases
37
Size
24KB

Deep Insights

๐Ÿ“ˆ
Strong growth momentum

11.7M downloads in the last 30 days (389.2K/day), up 40% from the previous period.

๐Ÿ›๏ธ
Foundational crate

24.1K crates depend on predicates โ€” it's part of the Rust ecosystem's core infrastructure. Removing it from your dependency tree would be extremely difficult.

โœ…
Stable for 8+ years

The API has been stable (1.x) for over 8 years with 37 releases. This level of maturity means you can depend on it without worrying about breaking changes.

๐Ÿ“
Compact crate

At 24KB, predicates is lightweight. Small crate size correlates with focused, well-scoped functionality.

๐ŸŒŸ
Used by top crates

Notable dependents include predicates-tree, mockall, metrics-util, assert_cmd, assert_fs. When high-quality crates choose predicates, it's a strong quality signal.

Health Breakdown

Maintenance 16/25

Recency, release consistency, active ratio

Quality 21/25

Yanked ratio, deps, size, maturity, features

Community 17/20

Reverse deps, ownership, ecosystem

Popularity 8/15

Downloads, momentum, growth trend

Documentation 15/15

Docs, repo, license, metadata

Download Trend

Daily downloads ยท last 90 days
287K/day avg+89%
0100K200K300K400K500K12/291/162/32/213/113/28

Top Dependents

Version Adoption

v2.1.5
36%
v3.1.3
35%
v3.1.0
11%
v3.0.4
10%
v3.1.2
8%

Release Timeline

37 releasessince 2017
J
F
M
A
M
J
J
A
S
O
N
D
2017
3
2018
7
2019
2
2020
4
2021
7
2022
5
2023
5
2024
3
2025
2026
1
Less
More

Feature Flags

default =["diff", "regex", "float-cmp", "normalize-line-endings", "color"]

diff*color*unstable

README

Loading README...

Maintainers

Dependencies
7
direct dependencies
Dependents
24.1K
crates depend on predicates

Similar Crates