Adding limit_alloc library as a dependency

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

cargo add limit-alloc

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

limit-alloc = "0.1.0"

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

Back to the crate overview.