Adding winston library as a dependency

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

cargo add winston

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

winston = "0.7.1"

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

Back to the crate overview.