dirs-sys-rs
system-level helper functions for the dirs and directories crates (by dirs-dev)
directories-rs
a mid-level library that provides config/cache/data paths, following the respective conventions on Linux, macOS and Windows (by dirs-dev)
dirs-sys-rs | directories-rs | |
---|---|---|
1 | 5 | |
38 | 700 | |
- | 3.7% | |
4.1 | 4.0 | |
about 2 months ago | 8 months ago | |
Rust | Rust | |
Apache License 2.0 | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
dirs-sys-rs
Posts with mentions or reviews of dirs-sys-rs.
We have used some of these posts to build our list of alternatives
and similar projects.
directories-rs
Posts with mentions or reviews of directories-rs.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-10-19.
-
Rip – Rust crate to resolve and install Python packages
There are even libraries for that!
https://github.com/dirs-dev/directories-rs
-
Use the XDG Base Directory Specification
At least for rust applications of your own, you can use the library https://github.com/dirs-dev/directories-rs to follow XDG on Linux as well as platform conventions on Mac and Windows.
-
[ANN] Released `config-finder`, a crate to easily help your CLI app find all its config files
I suppose I shouldn't be surprised to see this pop up about two weeks after there was no response to this reply on #47: Support for using ~/.config on Mac for command line apps on directories-rs:
- "directories" crate version 4.0.0 broken on MacOS
What are some alternatives?
When comparing dirs-sys-rs and directories-rs you can also consider the following projects:
dirs - a low-level library that provides config/cache/data paths, following the respective conventions on Linux, macOS and Windows
rattler - Rust crates to work with the Conda ecosystem.
boxxy - boxxy puts bad Linux applications in a box with only their files.
xdg-ninja - A shell script which checks your $HOME for unwanted files and directories.
config-finder-rust - Rust crate to easily find config files and directories for your CLI application
platformdirs - A small Python module for determining appropriate platform-specific dirs, e.g. a "user data dir".
cibuildwheel - 🎡 Build Python wheels for all the platforms with minimal configuration.