smessmer / binary-layoutLinks
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…
☆71Updated 9 months ago
Alternatives and similar repositories for binary-layout
Users that are interested in binary-layout are comparing it to the libraries listed below
Sorting:
- Safe, zero-cost downcasting for limited compile-time specialization.☆172Updated last month
- Safely cast &T to &U where the struct U contains a single field of type T.☆214Updated 2 weeks ago
- This crate offers procedural macros designed to facilitate the swift implementation of Rust's built-in traits.☆151Updated last month
- Rust ABI safe code generator☆189Updated 5 months ago
- Minimal asynchronous executor for Rust☆130Updated last week
- cargo-add command to make dependencies into dylibs☆102Updated 3 years ago
- Better reference counted strings for Rust☆136Updated last year
- FFI-compatible futures☆167Updated 3 months ago
- A procedure macro to unify SYNC and ASYNC implementation for downstream application/crates☆165Updated last year
- Cross-platform atomic wait and wake (aka futex) functionality for Rust.☆129Updated 4 months ago
- A scope for async_std and tokio to spawn non-static futures☆146Updated last year
- ☆223Updated last month
- A fast and flexible LRU map.☆192Updated 9 months ago
- Fork of std::Arc with lots of utilities useful for FFI☆257Updated 2 weeks ago
- Versioned data-structures for Rust☆207Updated 7 months ago
- Compile-time string operations☆104Updated 2 weeks ago
- Utilities for working with impl traits in Rust.☆116Updated 8 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`☆125Updated last year
- Const equivalents of std functions, compile-time comparison, and parsing.☆105Updated 3 weeks ago
- Conditional compilation using boolean expression syntax, rather than any(), all(), not()☆292Updated 2 years ago
- Utility wrapper to send non send types to other threads safely☆188Updated 6 months ago
- A tiny utility to help save you a lot of effort with long winded `#[cfg()]` checks in Rust.☆86Updated 5 months ago
- assert!() and check!() macros for Rust, inspired by Catch2, now with diffs!☆110Updated last month
- Compile-time string formatting☆242Updated 9 months ago
- A tool to mine crates.io and produce static websites☆136Updated 11 months ago
- Safe-to-use proc-macro-free self-referential structs in stable Rust.☆274Updated last month
- Compile-time regular expressions, the right way.☆80Updated 7 months ago
- Scroll - making scrolling through buffers fun since 2016☆175Updated 3 weeks ago
- Lazy formatting utility macro for rust☆129Updated last year
- Define your own PhantomData☆158Updated 2 weeks ago