Thanks to visit codestin.com
Credit goes to lib.rs

#allocator #allocation #data-structures

no-std allocated

Abstractions for working with explicitly allocated data structures

2 releases

0.1.1 Dec 28, 2025
0.1.0 Dec 13, 2025

#325 in Memory management


Used in allocated-btree

MIT/Apache

89KB
2K SLoC

allocated-rs

crates.io Released API docs

Abstractions for working with allocated data structures.

allocated provides various utilities for working with explicitly allocated data structures, which makes them more ergonomic to write, easier to make them correctly manage memory and more consistent between different implementations.

Features

  • no_std compatible: Core functionality works without the standard library
  • Optional std feature: Enables TrackingAllocator with backtrace support
  • Works with any allocator implementing the Allocator trait

Most of this code was written before code generating AI was widespread. However, Claude Code has been used to fix typos and improve the documentation since then.

License

Copyright 2024 Alex Chamberlain

This project is licensed under either of

at your option.

Dependencies

~305KB