skepller@lemmy.world to Programmer Humor@lemmy.mlEnglish · 1 day agoTOMLlemmy.mlimagemessage-square24fedilinkarrow-up1128arrow-down16file-text
arrow-up1122arrow-down1imageTOMLlemmy.mlskepller@lemmy.world to Programmer Humor@lemmy.mlEnglish · 1 day agomessage-square24fedilinkfile-text
minus-squareEphera@lemmy.mllinkfedilinkEnglisharrow-up2·edit-213 hours agoWe just document that this is how you write the config file: [network] bind.host = "127.0.0.1" bind.port = 1234 # etc. And that seems straightforward enough. Yeah, technically users can opt to use inline tables or raw strings or whatever, but they don’t have to.
minus-squareell1e@leminal.spacelinkfedilinkEnglisharrow-up1·2 hours agoConfigs are often shared, just to explain my reservations with TOML. For my project, I used INI instead.
We just document that this is how you write the config file:
[network] bind.host = "127.0.0.1" bind.port = 1234 # etc.And that seems straightforward enough. Yeah, technically users can opt to use inline tables or raw strings or whatever, but they don’t have to.
Configs are often shared, just to explain my reservations with TOML. For my project, I used INI instead.