This crate requires a nightly (unstable, experimental) compiler version. To switch to it, you must have Rust installed via Rustup, and run:

rustup default nightly

Run rustup default stable to switch back.

Adding shared_memory_allocator library as a dependency

Run this command in a terminal, in your project's directory:

cargo add shared-memory-allocator

To add it manually, edit your project's Cargo.toml file and add to the [dependencies] section:

shared-memory-allocator = "0.1.0"

The shared_memory_allocator library will be automatically available globally. Read the shared_memory_allocator library documentation.

Back to the crate overview.