Diggsey / mockallocLinks
Rust library for testing code relying on the global allocator
☆13Updated last year
Alternatives and similar repositories for mockalloc
Users that are interested in mockalloc are comparing it to the libraries listed below
Sorting:
- Data structures like Rust `alloc` which reuse user allocated memory☆61Updated 3 months ago
- Macro for sealing traits and structures☆61Updated last year
- Exposes arch-specific intrinsics as safe function (via cfg).☆56Updated last month
- Postfix macros on stable Rust, today.☆76Updated 4 years ago
- Stack-allocated DSTs for rust (fixed capacity)☆52Updated last year
- ☆61Updated 2 years ago
- A tiny utility to help save you a lot of effort with long winded `#[cfg()]` checks in Rust.☆92Updated 9 months ago
- Temporarily take ownership of a value at a mutable location, and replace it with a new value based on the old one.☆115Updated 8 months ago
- Rust crate that provides number types similar to std's NonZero* types, but that cannot hold a type's maximum value instead.☆55Updated 3 months ago
- Compile-time temporary directory shared by multiple crates and erased by `cargo clean`☆77Updated last month
- A newtype with alignment of at least `A` bytes☆33Updated last month
- Easy and safe destructuring for more types.☆33Updated 2 months ago
- Rust library for safely and explicitly parsing untrusted data☆53Updated last year
- docs.rs as a publishing platform?☆71Updated last month
- One pointer wide trait objects which are also FFI safe, allowing traits to be passed to/from and implemented by C ABI code.☆43Updated 3 years ago
- Typed index version of Rust slice and Vec containers☆75Updated last week
- Safe, zero-cost downcasting for limited compile-time specialization.☆179Updated 5 months ago
- Inline procedural macros for Rust☆56Updated 3 years ago
- An exploration into the various ways optional trait methods can be implemented in Rust.☆42Updated 6 months ago
- Small Box optimization: store small item on stack and fallback to heap for large item.☆91Updated 6 months ago
- Read trait fixed to soundly work with uninitalized memory☆28Updated 2 years ago
- Synchronization primitives for lazy and one-time initialization (no_std compatible).☆34Updated 10 months ago
- ☆43Updated 2 years ago
- ☆55Updated 5 months ago
- Intended to allow taking a T from a &mut T temporarily☆80Updated 6 years ago
- Safe wrapper for initializing arrays☆74Updated 3 years ago
- Initialize arrays with ease!☆84Updated 3 years ago
- Unsafe marker trait for types that deref to a stable address☆33Updated 3 months ago
- Fake implementation of `std::Fn` for user-defined data types☆36Updated 3 years ago
- ASCII-only equivalents to `char`, `str` and `String`.☆74Updated last year