moonfire-nvr/server
Scott Lamb 892427592e tweak config format (#133)
* switch from json to toml.
  I think this will be more user-friendly. It allows comments and has
  less punctuation. Fewer surprises than yaml (which has e.g. the
  "Norway problem"). I might have stayed with JSON if I could see a
  good serde json library that allows comments, but hson is unmaintained
  and serde-json strictly follows the spec.

* switch from camelCase to snake_case. Seems more idiomatic for TOML
  and matches the Rust source.

* forbid unknown keys. Better to spot errors sooner.

* rename "trust_forward_hdrs" to "trust_forward_headers". Nothing else
  is abbreviated.
2022-03-16 12:34:39 -07:00
..
base fix #187 via a dependency upgrade 2022-03-08 11:24:44 -08:00
db fix warnings 2022-03-11 12:01:35 -08:00
src tweak config format (#133) 2022-03-16 12:34:39 -07:00
Cargo.lock tweak config format (#133) 2022-03-16 12:34:39 -07:00
Cargo.toml tweak config format (#133) 2022-03-16 12:34:39 -07:00