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…
☆73Updated 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
- Safely cast &T to &U where the struct U contains a single field of type T.☆215Updated 2 weeks ago
- Const equivalents of std functions, compile-time comparison, and parsing.☆118Updated 2 months ago
- Open a scope and then freeze it in time for future access.☆108Updated last year
- Fork of std::Arc with lots of utilities useful for FFI☆274Updated last week
- This crate offers procedural macros designed to facilitate the swift implementation of Rust's built-in traits.☆152Updated last month
- Utility wrapper to send non send types to other threads safely☆185Updated 9 months ago
- Rust ABI safe code generator☆190Updated 8 months ago
- Compile-time string operations☆114Updated last week
- Better reference counted strings for Rust☆139Updated last year
- A fast and flexible LRU map.☆198Updated last year
- A scope for async_std and tokio to spawn non-static futures☆155Updated last year
- A procedure macro to unify SYNC and ASYNC implementation for downstream application/crates☆170Updated last year
- Versioned data-structures for Rust☆208Updated 10 months ago
- A faster Arc.☆77Updated last year
- cargo-add command to make dependencies into dylibs☆104Updated 3 years ago
- A variant of include_bytes!/include_str! with compile-time deflation and runtime lazy inflation☆144Updated 3 months ago
- A tiny utility to help save you a lot of effort with long winded `#[cfg()]` checks in Rust.☆91Updated 8 months ago
- Minimal asynchronous executor for Rust☆133Updated last month
- An atomically updatable Arc for lock-free concurrency.☆188Updated last month
- Compile-time regular expressions, the right way.☆81Updated 11 months ago
- Portable atomic types including support for 128-bit atomics, atomic float, etc.☆212Updated last week
- Utilities for working with impl traits in Rust.☆118Updated 11 months ago
- Define your own PhantomData☆158Updated 2 weeks ago
- assert!() and check!() macros for Rust, inspired by Catch2, now with diffs!☆123Updated 4 months ago
- FFI-compatible futures☆171Updated 3 months ago
- ☆241Updated 4 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`☆128Updated last year
- Comparison of Rust string types☆164Updated last month
- Conditional compilation using boolean expression syntax, rather than any(), all(), not()☆291Updated 3 years ago