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…
☆72Updated 6 months ago
Alternatives and similar repositories for binary-layout
Users that are interested in binary-layout are comparing it to the libraries listed below
Sorting:
- Safely cast &T to &U where the struct U contains a single field of type T.☆209Updated 2 weeks ago
- This crate offers procedural macros designed to facilitate the swift implementation of Rust's built-in traits.☆145Updated 10 months ago
- Safe, zero-cost downcasting for limited compile-time specialization.☆165Updated last week
- A fast and flexible LRU map.☆189Updated 5 months ago
- A scope for async_std and tokio to spawn non-static futures☆136Updated last year
- A procedure macro to unify SYNC and ASYNC implementation for downstream application/crates☆156Updated last year
- Minimal asynchronous runtime for Rust☆129Updated 10 months ago
- Const equivalents of std functions, compile-time comparison, and parsing.☆99Updated 5 months ago
- Utilities for working with impl traits in Rust.☆109Updated 5 months ago
- Open a scope and then freeze it in time for future access.☆107Updated 10 months ago
- A tiny utility to help save you a lot of effort with long winded `#[cfg()]` checks in Rust.☆80Updated 2 months ago
- Time and duration crate optimized for speed and API stability.☆71Updated last month
- assert!() and check!() macros for Rust, inspired by Catch2, now with diffs!☆103Updated 5 months ago
- ☆196Updated last year
- Const TypeId and non-'static TypeId☆66Updated last month
- Macro to repeat sequentially indexed copies of a fragment of code☆156Updated last month
- Convert number to enum☆87Updated 10 months ago
- Variant of Rust's std::Arc that supports atomic replacement of the value.☆95Updated 2 weeks ago
- Better reference counted strings for Rust☆126Updated 11 months ago
- Graceful shutdown util for Rust projects using the Tokio Async runtime.☆136Updated 8 months ago
- A tool to mine crates.io and produce static websites☆132Updated 8 months ago
- A variant of include_bytes!/include_str! with compile-time deflation and runtime lazy inflation☆137Updated 7 months ago
- An alternate Cargo registry using static files☆121Updated 3 months ago
- (lifetime) GATs on stable Rust☆59Updated last year
- cargo-add command to make dependencies into dylibs☆99Updated 2 years ago
- Extended utilities for working with files and filesystems in Rust. This is a fork of the fs2-rs crate, the aim for this fork is to suppor…☆87Updated 3 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`☆118Updated 8 months ago
- Compile-time string formatting☆238Updated 6 months ago
- Lazy formatting utility macro for rust☆127Updated last year
- Blazing fast immutable collection datatypes for Rust.☆105Updated 2 weeks ago