Adding regalloc library as a dependency

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

cargo add regalloc

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

regalloc = "0.0.34"

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

Back to the crate overview.