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.☆179Updated 5 months ago
- Safely cast &T to &U where the struct U contains a single field of type T.☆216Updated 2 weeks ago
- Rust ABI safe code generator☆190Updated 9 months ago
- Better reference counted strings for Rust☆140Updated last year
- A tiny utility to help save you a lot of effort with long winded `#[cfg()]` checks in Rust.☆92Updated 9 months ago
- cargo-add command to make dependencies into dylibs☆105Updated 3 years ago
- This crate offers procedural macros designed to facilitate the swift implementation of Rust's built-in traits.☆152Updated 2 months ago
- Utility wrapper to send non send types to other threads safely☆186Updated 10 months ago
- Versioned data-structures for Rust☆208Updated 11 months ago
- A scope for async_std and tokio to spawn non-static futures☆155Updated last year
- Minimal asynchronous executor for Rust☆133Updated 2 weeks ago
- FFI-compatible futures☆171Updated 4 months ago
- Macro to repeat sequentially indexed copies of a fragment of code☆162Updated last month
- A procedure macro to unify SYNC and ASYNC implementation for downstream application/crates☆172Updated last year
- Const equivalents of std functions, compile-time comparison, and parsing.☆119Updated 3 months ago
- assert!() and check!() macros for Rust, inspired by Catch2, now with diffs!☆124Updated last week
- A faster Arc.☆80Updated last year
- Convert number to enum☆87Updated last year
- Make trait methods callable without the trait in scope☆162Updated last month
- 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☆278Updated 2 weeks ago
- Define your own PhantomData☆158Updated last month
- A small test framework to write your own test harness that looks and behaves like the built-in test harness used by `rustc --test`☆131Updated last year
- A fast and flexible LRU map.☆199Updated last year
- Compile-time string operations☆115Updated this week
- A variant of include_bytes!/include_str! with compile-time deflation and runtime lazy inflation☆144Updated 4 months ago
- Compile-time string formatting☆262Updated 4 months ago
- A tool to mine crates.io and produce static websites☆139Updated last year
- Utilities for working with impl traits in Rust.☆121Updated last year
- Cross-platform atomic wait and wake (aka futex) functionality for Rust.☆140Updated 8 months ago