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
- Const equivalents of std functions, compile-time comparison, and parsing.☆96Updated 3 months ago
- Better reference counted strings for Rust☆121Updated 9 months ago
- A fast and flexible LRU map.☆181Updated 3 months ago
- ☆204Updated 2 weeks ago
- Safely cast &T to &U where the struct U contains a single field of type T.☆200Updated last month
- Minimal asynchronous runtime for Rust☆127Updated 8 months ago
- Macro to repeat sequentially indexed copies of a fragment of code☆154Updated last month
- Compile-time string operations☆90Updated 2 months ago
- Oneshot Rust channel working both in and between sync and async environments☆88Updated 2 months ago
- A scope for async_std and tokio to spawn non-static futures☆131Updated 10 months ago
- Define your own PhantomData☆152Updated last month
- Lazy formatting utility macro for rust☆127Updated last year
- Compile-time string formatting☆236Updated 4 months ago
- Fork of std::Arc with lots of utilities useful for FFI☆232Updated 3 months ago
- Rust ABI safe code generator☆186Updated 8 months ago
- Open a scope and then freeze it in time for future access.☆107Updated 8 months ago
- Cargo subcommand for viewing LLVM optimization remarks.☆177Updated 11 months ago
- A faster Arc.☆64Updated last year
- Cross-platform atomic wait and wake (aka futex) functionality for Rust.☆125Updated 10 months ago
- Variant of Rust's std::Arc that supports atomic replacement of the value.☆86Updated 2 weeks ago
- Utilities for working with impl traits in Rust.☆108Updated 2 months ago
- A tiny utility to help save you a lot of effort with long winded `#[cfg()]` checks in Rust.☆78Updated last week
- assert!() and check!() macros for Rust, inspired by Catch2, now with diffs!☆102Updated 3 months ago
- This crate offers procedural macros designed to facilitate the swift implementation of Rust's built-in traits.☆142Updated 8 months ago
- Convert number to enum☆87Updated 8 months ago
- Mirror of Rust's allocator api for use on stable rust☆57Updated 2 months ago
- Const TypeId and non-'static TypeId☆66Updated last month
- ☆65Updated 10 months ago
- A tool to mine crates.io and produce static websites☆130Updated 6 months ago