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…
☆73Updated 4 months ago
Alternatives and similar repositories for binary-layout:
Users that are interested in binary-layout are comparing it to the libraries listed below
- Safe, zero-cost downcasting for limited compile-time specialization.☆160Updated last month
- Safely cast &T to &U where the struct U contains a single field of type T.☆200Updated last month
- A scope for async_std and tokio to spawn non-static futures☆131Updated 10 months ago
- Better reference counted strings for Rust☆121Updated 9 months ago
- This crate offers procedural macros designed to facilitate the swift implementation of Rust's built-in traits.☆142Updated 8 months ago
- Utilities for working with impl traits in Rust.☆108Updated 2 months ago
- A fast and flexible LRU map.☆181Updated 3 months ago
- Macro to repeat sequentially indexed copies of a fragment of code☆154Updated last month
- ☆205Updated 2 weeks ago
- Minimal asynchronous runtime for Rust☆127Updated 8 months ago
- Blazing fast immutable collection datatypes for Rust.☆102Updated last week
- Open a scope and then freeze it in time for future access.☆107Updated 8 months ago
- Const equivalents of std functions, compile-time comparison, and parsing.☆96Updated 3 months ago
- Variant of Rust's std::Arc that supports atomic replacement of the value.☆86Updated 2 weeks ago
- A tiny utility to help save you a lot of effort with long winded `#[cfg()]` checks in Rust.☆78Updated last week
- High-precision and consistent benchmarking framework/harness for Rust☆134Updated last week
- Time and duration crate optimized for speed and API stability.☆69Updated last month
- Cargo subcommand for viewing LLVM optimization remarks.☆177Updated 11 months ago
- A simple Cross-platform thread schedule and priority library for rust.☆124Updated 5 months ago
- Lazy formatting utility macro for rust☆127Updated last year
- Fork of std::Arc with lots of utilities useful for FFI☆232Updated 3 months ago
- Rust ABI safe code generator☆186Updated this week
- Compatibility adapter between tokio and futures☆167Updated last month
- Convert number to enum☆87Updated 8 months ago
- assert!() and check!() macros for Rust, inspired by Catch2, now with diffs!☆102Updated 3 months ago
- More efficient alternative to `serde_json::Value` which saves memory by interning primitive values and using tagged pointers.☆135Updated 4 months ago
- Automatically implement traits for common smart pointers☆109Updated 2 weeks ago
- Const TypeId and non-'static TypeId☆66Updated last month
- A variant of include_bytes!/include_str! with compile-time deflation and runtime lazy inflation☆137Updated 5 months ago
- Fast, concurrent, arena-based allocator with drop support☆126Updated last year