1 unstable release

0.1.0 Jun 18, 2022

#504 in Memory management

22 downloads per month

Apache-2.0 OR BSL-1.0 OR MIT

334 lines


A fake "allocator".


Simplified allocations for no-std on stable Rust.

All allocations require a *Store which gives them a 'static lifetime.

You can swap out alloc for faux_alloc and as long as the APIs are supported it will work. Emulating https://doc.rust-lang.org/alloc/boxed/index.html Emulating https://doc.rust-lang.org/alloc/sync/index.html Emulating https://doc.rust-lang.org/alloc/task/index.html

No runtime deps