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 2 months ago
Alternatives and similar repositories for binary-layout:
Users that are interested in binary-layout are comparing it to the libraries listed below
- A scope for async_std and tokio to spawn non-static futures☆126Updated 9 months ago
- A fast and flexible LRU map.☆175Updated 2 months ago
- Safe, zero-cost downcasting for limited compile-time specialization.☆156Updated this week
- Safely cast &T to &U where the struct U contains a single field of type T.☆199Updated this week
- Compile-time string operations☆90Updated 2 weeks ago
- This crate offers procedural macros designed to facilitate the swift implementation of Rust's built-in traits.☆140Updated 7 months ago
- Const equivalents of std functions, compile-time comparison, and parsing.☆95Updated 2 months ago
- Better reference counted strings for Rust☆118Updated 7 months ago
- Utilities for working with impl traits in Rust.☆102Updated last month
- Compile-time string formatting☆230Updated 3 months ago
- A tiny utility to help save you a lot of effort with long winded `#[cfg()]` checks in Rust.☆76Updated last month
- FFI-compatible futures☆160Updated 3 months ago
- Cargo subcommand for viewing LLVM optimization remarks.☆174Updated 9 months ago
- ☆203Updated last month
- A implementation of convenience integrations between tokio and tower☆128Updated last year
- Minimal asynchronous runtime for Rust☆127Updated 6 months ago
- A procedure macro to unify SYNC and ASYNC implementation for downstream application/crates☆150Updated last year
- cargo-add command to make dependencies into dylibs☆96Updated 2 years ago
- Automatically implement traits for common smart pointers☆106Updated last month
- assert!() and check!() macros for Rust, inspired by Catch2, now with diffs!☆100Updated 2 months ago
- A versatile and developer-friendly trait mocking library☆72Updated 7 months ago
- Time and duration crate optimized for speed and API stability.☆68Updated this week
- Fork of std::Arc with lots of utilities useful for FFI☆228Updated last month
- Macro to repeat sequentially indexed copies of a fragment of code☆143Updated this week
- A variant of include_bytes!/include_str! with compile-time deflation and runtime lazy inflation☆137Updated 4 months ago
- ☆189Updated last year
- A token-based rate limiter based on the leaky bucket algorithm.☆105Updated 6 months ago
- Compatibility adapter between tokio and futures☆164Updated 2 weeks ago
- Semantic wrapper for byte count representations☆124Updated this week
- Graceful shutdown util for Rust projects using the Tokio Async runtime.☆130Updated 5 months ago