memapi2 0.7.0

A no_std/no-alloc-friendly memory allocation interface for raw buffers, with improved error reporting.
Documentation

A small, no_std-friendly memory allocation interface for managing raw buffers, suitable for use in collections.

This crate focuses on a minimal API:

  • [Alloc]: a trait defining basic allocation, zero-allocation, deallocation, and simple grow/shrink helpers.
  • [DefaultAlloc]: a tiny wrapper delegating to the global allocator.
  • [AllocError]: an error type describing allocation failures.

Some utilities and marker traits are provided under [data]: