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 last year
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.☆178Updated 4 months ago
- Rust ABI safe code generator☆189Updated 7 months ago
- This crate offers procedural macros designed to facilitate the swift implementation of Rust's built-in traits.☆152Updated 2 weeks ago
- Const equivalents of std functions, compile-time comparison, and parsing.☆115Updated last month
- Versioned data-structures for Rust☆208Updated 9 months ago
- Minimal asynchronous executor for Rust☆133Updated 2 weeks ago
- A scope for async_std and tokio to spawn non-static futures☆154Updated last year
- Utility wrapper to send non send types to other threads safely☆186Updated 8 months ago
- Safely cast &T to &U where the struct U contains a single field of type T.☆215Updated 3 weeks ago
- Better reference counted strings for Rust☆139Updated last year
- A tiny utility to help save you a lot of effort with long winded `#[cfg()]` checks in Rust.☆88Updated 7 months ago
- Fork of std::Arc with lots of utilities useful for FFI☆268Updated last month
- assert!() and check!() macros for Rust, inspired by Catch2, now with diffs!☆122Updated 3 months ago
- CBOR: Concise Binary Object Representation☆82Updated 2 weeks ago
- A fast and flexible LRU map.☆198Updated 11 months ago
- Define your own PhantomData☆158Updated 3 weeks ago
- A tool to mine crates.io and produce static websites☆137Updated last year
- A procedure macro to unify SYNC and ASYNC implementation for downstream application/crates☆169Updated last year
- Portable atomic types including support for 128-bit atomics, atomic float, etc.☆209Updated last week
- An atomically updatable Arc for lock-free concurrency.☆185Updated last month
- A faster Arc.☆76Updated last year
- Open a scope and then freeze it in time for future access.☆107Updated last year
- Utilities for working with impl traits in Rust.☆118Updated 10 months ago
- a cross-platform library for opening OS pipes in Rust☆114Updated 2 months ago
- Lazy formatting utility macro for rust☆129Updated 2 years ago
- A Rust library providing pretty hex dump.☆62Updated 2 weeks ago
- Temporarily take ownership of a value at a mutable location, and replace it with a new value based on the old one.☆114Updated 6 months ago
- Make trait methods callable without the trait in scope☆161Updated 3 weeks ago
- A Rust implementation of OS provided synchronization primitives☆62Updated 2 years ago
- FFI-compatible futures☆169Updated 2 months ago