you are viewing a single comment's thread
view the rest of the comments
[–] 3 points 8 months ago

If you want to load at runtime you can use https://docs.rs/ron/latest/ron/. The structs are a weird combination of the two ways to define a struct in rust, making the ron notation of structs invalid rust, but having proper enums makes it worth it.

  • source
  • parent