skepller@lemmy.world to Programmer Humor@lemmy.mlEnglish · 5 个月前TOMLlemmy.mlimagemessage-square31linkfedilinkarrow-up1152arrow-down15file-text
arrow-up1147arrow-down1imageTOMLlemmy.mlskepller@lemmy.world to Programmer Humor@lemmy.mlEnglish · 5 个月前message-square31linkfedilinkfile-text
minus-squareEphera@lemmy.mllinkfedilinkEnglisharrow-up2·5 个月前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.
minus-squareell1e@leminal.spacelinkfedilinkEnglisharrow-up1·5 个月前Configs 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.