• Ephera@lemmy.ml
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    13 hours ago

    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.

    • ell1e@leminal.space
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 hours ago

      Configs are often shared, just to explain my reservations with TOML. For my project, I used INI instead.