cfg-expr
v0.20.7 GrowingA parser and evaluator for Rust `cfg()` expressions.
Quick Verdict
- โActively maintained (updated 22d ago)
- !Pre-1.0: API may have breaking changes
- โTrusted by 344 crates
- โTiny footprint (45KB, 3 deps)
- โPermissive license (MIT OR Apache-2.0)
Security
Deep Insights
4.7M downloads in the last 30 days (157.1K/day), up 35% from the previous period.
344 crates depend on cfg-expr. Reasonable ecosystem adoption, though not yet a core dependency.
The primary maintainer publishes 81 crates. This suggests deep Rust expertise and long-term commitment to the ecosystem.
Despite being 6+ years old, cfg-expr hasn't reached 1.0 yet. Expect potential API changes between versions.
Only 3 direct dependencies. Lean dependency tree means faster builds and lower supply chain risk.
At 44KB, cfg-expr is lightweight. Small crate size correlates with focused, well-scoped functionality.
Notable dependents include system-deps, target-spec, krates, cargo-deny, frame-support-procedural. When high-quality crates choose cfg-expr, it's a strong quality signal.
Health Breakdown
Recency, release consistency, active ratio
Yanked ratio, deps, size, maturity, features
Reverse deps, ownership, ecosystem
Downloads, momentum, growth trend
Docs, repo, license, metadata
Download Trend
Top Dependents
Most downloaded crates that depend on cfg-expr