2 unstable releases

Uses old Rust 2015

0.2.0 Jul 23, 2016
0.1.0 Jul 22, 2016

#1608 in Filesystem

Download history 248/week @ 2024-07-20 394/week @ 2024-07-27 445/week @ 2024-08-03 310/week @ 2024-08-10 293/week @ 2024-08-17 254/week @ 2024-08-24 416/week @ 2024-08-31 347/week @ 2024-09-07 543/week @ 2024-09-14 337/week @ 2024-09-21 427/week @ 2024-09-28 211/week @ 2024-10-05 266/week @ 2024-10-12 137/week @ 2024-10-19 127/week @ 2024-10-26 146/week @ 2024-11-02

688 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