Adding async_ringbuffer library as a dependency
Run this command in a terminal, in your project's directory:
cargo add --dev async-ringbuffer
to add it a dev dependency (if it's used only in tests, not in the final product). To add it as a regular run-time dependency, run:
cargo add async-ringbuffer
To add it manually, edit your project's Cargo.toml file and add to the [dependencies] section:
async-ringbuffer = "0.5.5"
The async_ringbuffer library will be automatically available globally.
Read the async_ringbuffer library documentation.