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…
☆74Updated 3 months ago
Alternatives and similar repositories for binary-layout:
Users that are interested in binary-layout are comparing it to the libraries listed below
- Safely cast &T to &U where the struct U contains a single field of type T.☆200Updated 3 weeks ago
- Safe, zero-cost downcasting for limited compile-time specialization.☆157Updated 3 weeks ago
- A fast and flexible LRU map.☆180Updated 2 months ago
- Minimal asynchronous runtime for Rust☆127Updated 7 months ago
- Const equivalents of std functions, compile-time comparison, and parsing.☆95Updated 3 months ago
- ☆191Updated last year
- ☆203Updated 2 months ago
- Macro to repeat sequentially indexed copies of a fragment of code☆150Updated 3 weeks ago
- Utilities for working with impl traits in Rust.☆105Updated 2 months ago
- This crate offers procedural macros designed to facilitate the swift implementation of Rust's built-in traits.☆141Updated 8 months ago
- A scope for async_std and tokio to spawn non-static futures☆126Updated 10 months ago
- Native Rust port of Google's HighwayHash, which makes use of SIMD instructions for a fast and strong hash function☆161Updated 3 weeks ago
- Compatibility adapter between tokio and futures☆167Updated 3 weeks ago
- Better reference counted strings for Rust☆119Updated 8 months ago
- A procedure macro to unify SYNC and ASYNC implementation for downstream application/crates☆151Updated last year
- Fork of std::Arc with lots of utilities useful for FFI☆230Updated 2 months ago
- CBOR: Concise Binary Object Representation☆68Updated 2 months ago
- Blazing fast immutable collection datatypes for Rust.☆100Updated last week
- Conditional compilation using boolean expression syntax, rather than any(), all(), not()☆294Updated 2 years ago
- Versioned data-structures for Rust☆203Updated last month
- A faster Arc.☆58Updated last year
- Cargo subcommand for viewing LLVM optimization remarks.☆174Updated 10 months ago
- Serialize and deserialize C-like enum as underlying repr☆238Updated 3 weeks ago
- Library safely exposing the io_uring API.☆60Updated last week
- cargo-add command to make dependencies into dylibs☆98Updated 2 years ago
- Oneshot Rust channel working both in and between sync and async environments☆86Updated last month
- Safe-to-use proc-macro-free self-referential structs in stable Rust.☆259Updated 3 months ago
- Cross-platform atomic wait and wake (aka futex) functionality for Rust.☆124Updated 9 months ago
- Map data structure whose keys are stored as ranges☆84Updated 3 months ago
- Rust ABI safe code generator☆185Updated 8 months ago