Thanks to visit codestin.com Credit goes to lib.rs
dirs
Run this command in a terminal, in your project's directory:
cargo add dirs
To add it manually, edit your project's Cargo.toml file and add to the [dependencies] section:
Cargo.toml
[dependencies]
dirs = "6.0.0"
The dirs library will be automatically available globally. Read the dirs library documentation.
Back to the crate overview.