dirs-rs icon indicating copy to clipboard operation
dirs-rs copied to clipboard

a low-level library that provides config/cache/data paths, following the respective conventions on Linux, macOS and Windows

Results 13 dirs-rs issues
Sort by recently updated
recently updated
newest added

I replaced the `cfg` attributes with the `cfg_attr`. It doesn't really change anything, just looks a little more neatly.

When running with `sudo`, `dirs-rs` returns directories for the user calling `sudo` and not the user that's running under `sudo`. On the surface this can seem like expected behavior but...

systemd gives users the option in service units to create and point to various directories under paths like, /run/{app}, /var/lib/{app}, etc. Would It make sense to add these environment variables...

specifically, [Termux](https://termux.com) would you be open to including this?

Rust works very well on [Cmder](http://cmder.net). Would you be open to supporting this environment?

Hey, What's your opinions on providing `dummy implementation` (returning None) for platforms that are not Windows, Linux or OSX? If you are positive to this I have a branch ready...

Currently the documentation is vague about what causes None returns in functions. It would be very helpful to be able to not have to comb through the code to implement...

Found via `markdownlint -f README.md --disable MD013 MD033`.

tl;dr: Please add a crates.io co-owner to improve the bus factor for this crate and dirs-ng. Hi. Relevantly, I'm the current maintainer of [`shellexpand`](https://lib.rs/crates/shellexpand), which I inherited from its author...

Love the project but kinda of a pain to write tests around code that is leveraging this library. Have the team considered making a trait of the Public API's so...