I have a Rust struct that contains many fields that I populate with values from API requests during runtime. Is there a way to start my app with this data loaded at compile time?
I need the data as a struct by the time compilation is finished.
I was thinking of saving the struct as a Rust file with the populated values. Are there any existing solutions that do something similar?