Hacker News new | ask | show | jobs
by unnah 1185 days ago
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.