rustio rustio.net
71

bitflags

v2.13.2 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 30d ago)
  • โœ“Stable API (2.x for 11+ years)
  • โœ“Massive adoption (77.5K crates depend on it)
  • โœ“Permissive license (MIT OR Apache-2.0)

Security

Checking security advisories...
Downloads
2.0B
Dependents
77.5K
Releases
64
Size
52KB

Deep Insights

๐Ÿ“Š
Steady growth

184.3M downloads in the last 30 days (6.1M/day), up 15% from the previous period.

๐Ÿ›๏ธ
Foundational crate

77.5K 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 64 releases. This level of maturity means you can depend on it without worrying about breaking changes.

โš ๏ธ
Notable yanked versions

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

๐ŸŒŸ
Used by top crates

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

Health Breakdown

Maintenance 16/25

Recency, release consistency, active ratio

Quality 16/25

Yanked ratio, deps, size, maturity, features

Community 16/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
1.9M/day avg-100%
02.0M4.0M6.0M8.0M8/229/99/2710/1511/211/19

Top Dependents

Version Adoption

v2.10.0
28%
v2.11.0
22%
v2.11.1
17%
v2.13.1
17%
v2.13.0
15%

Release Timeline

10 releases1 yankedsince 2025
J
F
M
A
M
J
J
A
S
O
N
D
2025
3
2026
7
Less
More|
Yanked

Feature Flags

stdserdeexample_generated

README

Loading README...

Maintainers

Dependencies
11
direct dependencies
Dependents
77.5K
crates depend on bitflags

Similar Crates