2 unstable releases

Uses old Rust 2015

0.2.0 Jul 23, 2016
0.1.0 Jul 22, 2016

#1481 in Filesystem

Download history 311/week @ 2023-12-04 149/week @ 2023-12-11 153/week @ 2023-12-18 67/week @ 2023-12-25 321/week @ 2024-01-01 377/week @ 2024-01-08 264/week @ 2024-01-15 229/week @ 2024-01-22 500/week @ 2024-01-29 290/week @ 2024-02-05 461/week @ 2024-02-12 223/week @ 2024-02-19 252/week @ 2024-02-26 206/week @ 2024-03-04 162/week @ 2024-03-11 227/week @ 2024-03-18

858 downloads per month
Used in 12 crates (7 directly)

MIT/Apache

13KB
292 lines

A port of ActiveState's venerable appdirs package

https://travis-ci.org/djc/appdirs-rs.svg https://ci.appveyor.com/api/projects/status/1aklr7uk1av5cas7/branch/master?svg=true

ActiveState first shared the source of their Python appdirs package in 2010, before which it had been developed as part of Komodo. It has since evolved at slow intervals, and seems to be a go-to package in the Python ecosystem. This package is a Rust port of the Python code.

It exposes the same six primitives:

  • user_data_dir()
  • site_data_dir()
  • user_config_dir()
  • site_config_dir()
  • user_cache_dir()
  • user_log_dir()

Windows Vista and later, macOS and other Unices are tested. Android support should be coming soon; iOS needs some more investigation. The following documents have been guiding development:

Dependencies

~31KB