ruffsl@programming.dev to Programming@programming.devEnglish · 10 months agoEverything about TOML format - Orchard Dwellerwww.youtube.comexternal-linkmessage-square6fedilinkarrow-up10arrow-down10file-text
arrow-up10arrow-down1external-linkEverything about TOML format - Orchard Dwellerwww.youtube.comruffsl@programming.dev to Programming@programming.devEnglish · 10 months agomessage-square6fedilinkfile-text
Visualizer: https://toml-to-json.orchard.blog/ Code: https://github.com/orcharddweller/tom… TOML spec: https://toml.io/en/v1.0.0
minus-squareEager Eagle@lemmy.worldlinkfedilinkEnglisharrow-up0·10 months agoTOML is mainly for humans to write, certainly not a good choice if you’re programmatically writing files - comments and formatting would be lost.
minus-squareFlipper@feddit.delinkfedilinkarrow-up0·10 months agoIt all depends on the library you use. Rust has you covered with toml_edit. It is what is used for all the cargo commands editing the Cargo.toml file.
TOML is mainly for humans to write, certainly not a good choice if you’re programmatically writing files - comments and formatting would be lost.
It all depends on the library you use. Rust has you covered with toml_edit. It is what is used for all the cargo commands editing the Cargo.toml file.