139
TOML
(lemmy.ml)
Post funny things about programming here! (Or just rant about your favourite programming language.)
Just write the Rust build configuration as a Rust struct at this point.
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.