bitfields
v2.0.2 StableMacro for for generating bitfields from structs and enum bitflags for defining packed binary schemas in low-level systems (e.g. embedded development or emulators)
Quick Verdict
- โActively maintained (updated 0d ago)
- โStable API (2.x for 7+ years)
- โTiny footprint (51KB, 2 deps)
- โPermissive license (MIT)
Security
Deep Insights
201.5K downloads in the last 30 days (6.7K/day), up 22% from the previous period.
The API has been stable (1.x) for over 7 years with 31 releases. This level of maturity means you can depend on it without worrying about breaking changes.
Only 2 direct dependencies. Lean dependency tree means faster builds and lower supply chain risk.
Notable dependents include pgp, vs1053, ez-bencoding, nvenc, patchouly-core. When high-quality crates choose bitfields, 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 bitfields
Version Adoption
Release Timeline
Feature Flags
default =["bitfields-impl/default", "order_lsb", "generate_new", "generate_from_into_bits", "from_endian_big", "into_endian_big", "generate_from_traits", "generate_default", "generate_debug", "derive_copy", "generate_bit_ops", "generate_write_bit_ops", "write_endian_big", "generate_clear_bit_ops", "generate_set_get_bit_ops", "generate_invert_bit_ops", "generate_toggle_bit_ops", "generate_builder", "bitflag_from_endian_big", "bitflag_into_endian_big", "bitflag_derive_copy", "disable_array_heap"]