ferrilab/bitvec
A crate for managing memory bit by bit observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2988
- days_rel: n/a
- days_push: 754
- n_releases_24m: 0
Adoption not part of the score
1444 stars · 134 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Rust crate that provides bit-addressed memory management, specializing slices, arrays, and vectors to store one bit per bool, similar to C++'s std::bitset and std::vector<bool>. It also supports dividing memory into arbitrary-width integer regions like Erlang binaries, with safe concurrent aliasing semantics.
Use cases
- store booleans compactly one bit per bool in Rust
- implement bitfields for wire protocols and binary formats
- parse and build bit-level data streams like Erlang binaries
- manipulate individual bits without manual shift and mask code
- use bitsets and bitvectors with Rust ownership and borrowing
- work with bit-addressed memory in embedded Rust projects
When to choose
- you need safe, idiomatic Rust bit-level memory access with precise layout control
- you want C++ std::bitset or vector<bool> equivalents in Rust
- you need bitfield packing for transport protocols or binary serialization
- you require concurrent-safe bit slice aliasing
When to avoid
- you only need simple integer bitmask math on a handful of flags
- you are not working in Rust
- you need a bit-level binary parser DSL rather than a memory model (consider deku)
Facets
library · maturity stable
serialization file-system developer-tools embedded-systems rust cross-platform embedded bit-manipulation bitfield bitset bitvector memory-layout no-std algorithms
1 source
- readme: https://github.com/ferrilab/bitvec · fetched 2026-08-28 · 95fd2e9ae93d
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| ferrilab/bitvec | main | 32 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem