Adding linguist library as a dependency

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

cargo add linguist-rs

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

linguist-rs = "1.1.0"

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

Back to the crate overview.