bitflags
v2.11.0 StableA macro to generate structures which behave like bitflags.
Quick Verdict
- ✓Actively maintained (updated 42d ago)
- ✓Stable API (2.x for 11+ years)
- ✓Massive adoption (59.8K crates depend on it)
- ✓Team maintained (2 owners)
- ✓Permissive license (MIT OR Apache-2.0)
Security
Deep Insights
82.3M downloads in the last 30 days (2.7M/day), up 18% from the previous period.
59.8K crates depend on bitflags — it's part of the Rust ecosystem's core infrastructure. Removing it from your dependency tree would be extremely difficult.
The primary maintainer publishes 60 crates. This suggests deep Rust expertise and long-term commitment to the ecosystem.
The API has been stable (1.x) for over 11 years with 58 releases. This level of maturity means you can depend on it without worrying about breaking changes.
At 48KB, bitflags is lightweight. Small crate size correlates with focused, well-scoped functionality.
10% of releases have been yanked. Check version history before pinning.
Notable dependents include rustix, nix, redox_syscall, openssl, bindgen. When high-quality crates choose bitflags, 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 bitflags