Managing application data and state

Hello. I am new to rust and making a desktop application that handles orientering events. I therefore need to store data that the application works on like runners, course and class information. I have come to the point where I have importeted this data and have vectors containing the different structs. How should I store data like this when the application is running so i can access and edit it in a practical way?

With all due respect, you probably (1) want to solve this via SQL or (2) use a REPL based language like Clojure/Python/R (pandas comes to mind).

If you insist on using Rust, you probably want to look into the serde crates for serialization/deserialization. That will give you the primitives to save to file / load from file.

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.