dirs-next
A tiny low-level library that provides platform-specific standard locations of directories for config, cache and other data on Linux, Windows, macOS and Redox by leveraging the mechanisms defined by the XDG base/user directory specifications on Linux, the Known Folder API on Windows, and the Standard Directory guidelines on macOS.
2.0.0
161M downloads/mo
#587 most downloaded on crates.io
xdg-rs/dirs
What this package is like to depend on
Last release 6 years ago
no release in 18 months
Release timing varies
gaps range from 8 days to 5 months
Most releases are documented
notes for 3 of 4 stable releases
1 version withdrawn
withdrawn after publishing
6 years old
5 releases · first in 2020
0 releases in the last 12 months
see the full history below
Release timeline
5 releases · May 2020 to Oct 2020Releases
latest 5-
2.0.022 Oct 2020Release notes
Open source →Breaking changed
- Behavior of
config_diron macOS ofProjectDirsandBaseDirsis changed. According to Apple guideline, configuration files should be placed in subdirectory ofLibrary/Application Support. The old behavior ofconfig_dirreturnsLibrary/Preferences, which is incorrect. As users should useCFPreferencesAPI to get and set preference values for their app instead.
Release notes
Open source →Breaking changed
- Behavior of
config_diron macOS is changed. According to Apple guideline, configuration files should be placed in subdirectory ofLibrary/Application Support. The old behavior ofconfig_dirreturnsLibrary/Preferences, which is incorrect. As users should useCFPreferencesAPI to get and set preference values for their app instead.
- Behavior of
-
1.0.213 Oct 2020 -
1.0.123 May 2020Nothing published for this version
-
1.0.017 May 2020Release notes
Open source →This is the re-publish of
directoriescrate as is.<!-- next-url --> [Unreleased]: https://github.com/xdg-rs/dirs/compare/directories-v2.0.0...HEAD [2.0.0]: https://github.com/xdg-rs/dirs/compare/directories-v1.0.3...directories-v2.0.0 [1.0.3]: https://github.com/xdg-rs/dirs/compare/directories-v1.0.2...directories-v1.0.3 [1.0.2]: https://github.com/xdg-rs/dirs/compare/directories-v1.0.1...directories-v1.0.2 [1.0.1]: https://github.com/xdg-rs/dirs/compare/directories-v1.0.0...directories-v1.0.1 [1.0.0]: https://github.com/xdg-rs/dirs/releases/tag/directories-v1.0.0
Release notes
Open source →This is the re-publish of
dirscrate as is.<!-- next-url --> [Unreleased]: https://github.com/xdg-rs/dirs/compare/dirs-v2.0.0...HEAD [2.0.0]: https://github.com/xdg-rs/dirs/compare/dirs-v1.0.2...dirs-v2.0.0 [1.0.2]: https://github.com/xdg-rs/dirs/compare/dirs-v1.0.1...dirs-v1.0.2 [1.0.1]: https://github.com/xdg-rs/dirs/compare/dirs-v1.0.0...dirs-v1.0.1 [1.0.0]: https://github.com/xdg-rs/dirs/releases/tag/dirs-v1.0.0
-
0.0.006 May 2020 withdrawnNothing published for this version