whitequark / rust-xdg

A library that makes it easy to follow the X Desktop Group specifications
https://wiki.freedesktop.org/www/Specifications/
Apache License 2.0
154 stars 30 forks source link

Add public XDG_RUNTIME_DIR method #38

Closed chrisduerr closed 2 years ago

chrisduerr commented 2 years ago

This changes the visibility of the existing get_runtime_directory method to pub to make it possible for consumers to find that directory without requiring access to a specific file.

The documentation has been adjusted to match existing directory access methods.

Fixes #35.

whitequark commented 2 years ago

Thanks!

chrisduerr commented 2 years ago

Thanks for the super quick response. There have been a few changes since the last release 3 years ago (other than this most notably the state directory changes).

Would you be willing to pushing a new version in the near future?

whitequark commented 2 years ago

Released 2.3.0.