Adding statsd library as a dependency

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

cargo add statsd

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

statsd = "0.16.1"

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

Back to the crate overview.