bitfield-struct-rs
Procedural macro for bitfields. (by wrenger)
sparrow
By SmartAcoustics
bitfield-struct-rs | sparrow | |
---|---|---|
1 | 1 | |
43 | - | |
- | - | |
7.3 | - | |
25 days ago | - | |
Rust | ||
MIT License | - |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
bitfield-struct-rs
Posts with mentions or reviews of bitfield-struct-rs.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-05-15.
-
no more bit fiddling (and introducing bilge)
Love the syntax, it's super clean! I've been a big fan of https://github.com/wrenger/bitfield-struct-rs, but this library might give it a run for it's money.
sparrow
Posts with mentions or reviews of sparrow.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-05-15.
-
no more bit fiddling (and introducing bilge)
We wrote an extensive library for bit packing a few years ago. I never managed to release it to crates, but we do use it heavily internally (and it's super well tested and reasonably well documented). It has a slightly different perspective, making extensive use of typenum: This is a single bitfield implementation: https://gitlab.com/SmartAcoustics/sparrow/-/blob/master/sparrow-bitpacker/src/bitfields.rs with more extensive usage here: https://gitlab.com/SmartAcoustics/sparrow/-/blob/0932659068ea1bafeceb66b9b70a0abde89937d0/sparrow-registers/examples/register_map.rs
What are some alternatives?
When comparing bitfield-struct-rs and sparrow you can also consider the following projects:
statig - Hierarchical state machines for designing event-driven systems
xargo - The sysroot manager that lets you build and customize `std`
arocc - A C compiler written in Zig.
bilge - Use bitsized types as if they were a feature of rust.
scapegoat - Safe, fallible, embedded-friendly ordered set/map via a scapegoat tree. Validated against BTreeSet/BTreeMap.