Adding flex_alloc library as a dependency

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

cargo add flex-alloc

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

flex-alloc = "0.0.5"

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

Back to the crate overview.