Adding rodio library as a dependency

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

cargo add rodio

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

rodio = "0.21.1"

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

Back to the crate overview.