this post was submitted on 15 Aug 2023
0 points (NaN% liked)

Rust Programming

8168 readers
1 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?

top 1 comments
sorted by: hot top controversial new old
[–] anlumo@feddit.de 0 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.