smessmer / binary-layout
The binary-layout library allows type-safe, inplace, zero-copy access to structured binary data. You define a custom data layout and give it a slice of binary data, and it will allow you to read and write the fields defined in the layout from the binary data without having to copy any of the data. It's similar to transmuting to/from a #[repr(pac…
☆72Updated 7 months ago
Related projects ⓘ
Alternatives and complementary repositories for binary-layout
- A scope for async_std and tokio to spawn non-static futures☆122Updated 5 months ago
- Safe, zero-cost downcasting for limited compile-time specialization.☆151Updated last month
- This crate offers procedural macros designed to facilitate the swift implementation of Rust's built-in traits.☆131Updated 3 months ago
- Cross-platform atomic wait and wake (aka futex) functionality for Rust.☆115Updated 5 months ago
- Minimal asynchronous runtime for Rust☆123Updated 3 months ago
- Compile-time string formatting☆217Updated 2 months ago
- ☆65Updated 5 months ago
- Versioned data-structures for Rust☆203Updated last year
- Temporarily take ownership of a value at a mutable location, and replace it with a new value based on the old one.☆105Updated 2 years ago
- Define your own PhantomData☆147Updated 2 weeks ago
- Safely cast &T to &U where the struct U contains a single field of type T.☆188Updated 2 weeks ago
- Compatibility adapter between tokio and futures☆156Updated last month
- Const equivalents of std functions, compile-time comparison, and parsing.☆88Updated this week
- A fast and flexible LRU map.☆171Updated 6 months ago
- Procedural macro to easily write higher-order strategies in proptest.☆45Updated 4 months ago
- Macro to repeat sequentially indexed copies of a fragment of code☆137Updated 2 weeks ago
- Lazy formatting utility macro for rust☆125Updated 11 months ago
- A procedure macro to unify SYNC and ASYNC implementation for downstream application/crates☆148Updated 9 months ago
- Convert number to enum☆88Updated 3 months ago
- Open a scope and then freeze it in time for future access.☆105Updated 3 months ago
- assert!() and check!() macros for Rust, inspired by Catch2, now with diffs!☆95Updated 2 months ago
- Better reference counted strings for Rust☆114Updated 4 months ago
- An alternate Cargo registry using static files☆105Updated 2 months ago
- ☆188Updated last month
- Atomically updatable variants of Arc and Weak for lock-free concurrency.☆176Updated last month
- Fork of std::Arc with lots of utilities useful for FFI☆216Updated last month
- Utilities for working with impl traits in Rust.☆96Updated 8 months ago
- Cargo subcommand for viewing LLVM optimization remarks.☆171Updated 6 months ago
- A small test framework to write your own test harness that looks and behaves like the built-in test harness used by `rustc --test`☆104Updated last month
- Compile-time string operations☆80Updated last week