commonware-allocator 2026.9.0

Allocate and manage memory.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Allocate and manage memory.
//!
//! Allocators usually read their tuning (how long freed memory is retained,
//! how much is reserved up front, when memory returns to the operating
//! system) from environment variables at startup. This crate sets that
//! configuration in the binary and exposes allocator statistics for export as
//! metrics.

#![doc(
    html_logo_url = "https://commonware.xyz/imgs/rustdoc_logo.svg",
    html_favicon_url = "https://commonware.xyz/favicon.ico"
)]

commonware_macros::stability_scope!(ALPHA, cfg(feature = "mimalloc") {
    pub mod mimalloc;
});