Adding peak_alloc library as a dependency

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

cargo add peak_alloc

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

peak_alloc = "0.3.0"

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

Back to the crate overview.