rustio rustio.net
73

bitflags

v2.11.0 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 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

Checking security advisories...
Downloads
1.1B
Dependents
59.8K
Releases
58
Size
49KB

Deep Insights

📊
Steady growth

82.3M downloads in the last 30 days (2.7M/day), up 18% from the previous period.

🏛️
Foundational crate

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.

👤
Prolific maintainer

The primary maintainer publishes 60 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 58 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
2.2M/day avg+58%
01.0M2.0M3.0M12/291/162/32/213/113/28

Top Dependents

Version Adoption

v1.3.2
61%
v2.6.0
14%
v2.10.0
10%
v2.9.1
8%
v1.2.1
7%

Release Timeline

58 releases6 yankedsince 2015
J
F
M
A
M
J
J
A
S
O
N
D
2015
8
2016
5
2017
8
2018
3
2019
4
2020
2021
3
2022
1
2023
14
2024
3
2025
8
2026
1
Less
More|
Yanked

Feature Flags

stdserdeexample_generated

README

Loading README...

Maintainers

Dependencies
11
direct dependencies
Dependents
59.8K
crates depend on bitflags

Similar Crates