binrw
deku
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.
binrw
-
How to write deserializer for custom binary protocol?
Serde can work but won't be easy, because It wants to deserialize everything. Take a look at the binrw crate(https://github.com/jam1garner/binrw) and define your binary layout with It, then you can actually create a wrapper which reads the file from any reader(be it a Cursor over the mmap'd slice or a file).
- Kaitai Struct: A new way to develop parsers for binary structures
-
Post-Monomorphization Dead Code Elimination and Other Unwritten Blog Posts
Sure! The commit is here (I haven’t pushed the version of this commit I made on binread itself but the actual changes are identical)
deku
- Macro for structured byte to struct parsing
-
Parsing Bitstreams with Rust and Nom
If you like bitvec, check out [deku](https://github.com/sharksforarms/deku)
- Doing M1 MacBook Pro (M1 Max, 64GB) Compile Benchmarks!
-
Announcing: v0.1.0 adsb_deku/dump1090_rs
adsb_deku is a deku library for decoding the ADS-B messages.
-
Whats a correct approach for working with small binary numbers in Rust?
https://github.com/sharksforarms/deku works wonderfully for this
- Binary unpacking: Subarray instead of subslice?
What are some alternatives?
nom - Rust parser combinator framework
binread - A Rust crate for helping parse structs from binary data using ✨macro magic✨
wuffs - Wrangling Untrusted File Formats Safely
serde-gura - Strongly typed Gura library for Rust
hachoir - Hachoir is a Python library to view and edit a binary stream field by field
rust_minifb - Cross platfrom window and framebuffer crate for Rust
restruct - Rich binary (de)serialization library for Golang
www.rust-lang.org - The home of the Rust website
inlinable-dyn-extension-traits - An exploration into the various ways optional trait methods can be implemented in Rust.
monkey-rust - A dancing with interpreter and compiler
Kaitai Struct - Kaitai Struct: declarative language to generate binary data parsers in C++ / C# / Go / Java / JavaScript / Lua / Nim / Perl / PHP / Python / Ruby
adsb_deku - ✈️ Rust ADS-B decoder + tui radar application