Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Installation

Add the crate to your Rust project:

cargo add memory-admission

The default feature set enables the synchronous API, the async API, and the cross-platform sysinfo provider.

To choose a smaller API surface, disable default features and opt in:

[dependencies]
memory-admission = { version = "0.1.0", default-features = false, features = ["async"] }