this post was submitted on 15 Aug 2023
14 points (100.0% liked)
Rust Programming
8159 readers
2 users here now
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
For Linux, here is the spec: https://specifications.freedesktop.org/basedir-spec/basedir-spec-0.6.html
macOS has the NSSearchPathForDirectoriesInDomains API.
For Windows, there’s also an API for that, but I don’t know it offhand.