bitfield-struct-rs
Procedural macro for bitfields. (by wrenger)
scapegoat
Safe, fallible, embedded-friendly ordered set/map via a scapegoat tree. Validated against BTreeSet/BTreeMap. (by tnballo)
bitfield-struct-rs | scapegoat | |
---|---|---|
1 | 5 | |
47 | 239 | |
- | - | |
7.3 | 0.0 | |
about 1 month ago | over 2 years ago | |
Rust | Rust | |
MIT License | 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.
scapegoat
Posts with mentions or reviews of scapegoat.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-11-14.
-
10-12x smaller executable footprint than `std::collections::BTreeMap` - accurate?
Woah that made a huge difference! Thanks for taking the time to try that out and type it up. Was able to retrace your steps and get the same 8.4KB result. I've updated the writeup again.
-
no_std dups
IndexMax is not used directly and the one that is used directly is dynamic. https://github.com/tnballo/scapegoat is closer, but, still does not take advantage of const (uses rebalancing)
What are some alternatives?
When comparing bitfield-struct-rs and scapegoat you can also consider the following projects:
statig - Hierarchical state machines for designing event-driven systems
heapless - Heapless, `static` friendly data structures
xargo - The sysroot manager that lets you build and customize `std`
min-sized-rust - 🦀 How to minimize Rust binary size 📦
arocc - A C compiler written in Zig.
cortex-a - Low level access to Cortex-A processors
sparrow
bst-rs - Recursive & Iterative Binary Search Tree Implementations within Rust
bilge - Use bitsized types as if they were a feature of rust.
option-block - A minimal utility Rust crate for small, fixed-size blocks of optional types.