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?

  • AngryClosetMonkey@feddit.ch
    link
    fedilink
    arrow-up
    3
    ·
    11 months ago

    It depends on how you want to store your data. Every OS has a standard for where applications should store their data. You should store your data at the appropriate path. If you have structured data against which you want to run queries you could use a sqlite DB (the sqlx crate supports sqlite) instead of just a bunch of config files.