this post was submitted on 15 Aug 2023
12 points (100.0% liked)

Rust Programming

7734 readers
2 users here now

founded 5 years ago
MODERATORS
 

I want to build a small gui application in rust. What are my options for application storage? I have heard of the confi crate but I want to save a bit more than just configuration. Is there a crate that handles this for me easily?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 4 points 1 year ago

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.