skepller@lemmy.world to Programmer Humor@lemmy.mlEnglish · 4 days agoTOMLlemmy.mlimagemessage-square31linkfedilinkarrow-up1147arrow-down15file-text
arrow-up1142arrow-down1imageTOMLlemmy.mlskepller@lemmy.world to Programmer Humor@lemmy.mlEnglish · 4 days agomessage-square31linkfedilinkfile-text
minus-squareanton@lemmy.blahaj.zonelinkfedilinkarrow-up3·3 days agoIf 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.
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.