rustio rustio.net
73

bitflags

v2.11.1 Stable

A macro to generate structures which behave like bitflags.

MIT OR Apache-2.0 Edition 2021 MSRV 1.56.0
No standard library #bit#bitmask#bitflags#flags

Quick Verdict

  • Actively maintained (updated 41d ago)
  • Stable API (2.x for 11+ years)
  • Massive adoption (64.0K crates depend on it)
  • Team maintained (2 owners)
  • Permissive license (MIT OR Apache-2.0)

Security

Checking security advisories...
Downloads
1.3B
Dependents
64.0K
Releases
59
Size
49KB

Deep Insights

📈
Strong growth momentum

104.8M downloads in the last 30 days (3.5M/day), up 24% from the previous period.

🏛️
Foundational crate

64.0K crates depend on bitflags — it's part of the Rust ecosystem's core infrastructure. Removing it from your dependency tree would be extremely difficult.

👤
Prolific maintainer

The primary maintainer publishes 59 crates. This suggests deep Rust expertise and long-term commitment to the ecosystem.

Stable for 11+ years

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

📐
Compact crate

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

⚠️
Notable yanked versions

10% of releases have been yanked. Check version history before pinning.

🌟
Used by top crates

Notable dependents include rustix, nix, redox_syscall, openssl, bindgen. When high-quality crates choose bitflags, it's a strong quality signal.

Health Breakdown

Maintenance 15/25

Recency, release consistency, active ratio

Quality 16/25

Yanked ratio, deps, size, maturity, features

Community 19/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
3.0M/day avg+33%
01.0M2.0M3.0M4.0M5.0M2/263/164/34/215/95/26

Top Dependents

Version Adoption

v2.10.0
30%
v2.9.1
21%
v2.11.0
19%
v2.9.0
17%
v2.9.4
13%

Release Timeline

10 releasessince 2025
J
F
M
A
M
J
J
A
S
O
N
D
2025
8
2026
2
Less
More

Feature Flags

stdserdeexample_generated

README

Loading README...

Maintainers

Dependencies
11
direct dependencies
Dependents
64.0K
crates depend on bitflags

Similar Crates