Adding gpu_allocator library as a dependency

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

cargo add gpu-allocator

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

gpu-allocator = "0.28.0"

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

Back to the crate overview.