Expand description
ServerConfig root + value objects.
See the bounded-context doc
[docs/design/jss-parity/05-config-platform-context.md] for the
aggregate model. In short: ServerConfig is the root, loaded by
crate::config::loader::ConfigLoader from a precedence-ordered
list of sources, and validated once at the end of the load.
The struct shapes below are designed so the same JSS
config.json file boots both JSS and solid-pod-rs — field names
and JSON structure mirror JSS’s config.json where semantics align.
Structs§
- Auth
Config - Auth toggles.
- Extras
Config - Flat bag for operator-facing knobs not yet promoted to a typed
section. Each field is
#[serde(default)]+skip_serializing_ifso a pristineExtrasConfigserialises to an empty object. - Notifications
Config - Solid Notifications channel toggles.
- Security
Config - Security primitives — SSRF, dotfiles, ACL origin.
- Server
Config - Fully resolved server configuration snapshot.
- Server
Section - HTTP listener settings — matches JSS
host/port/baseUrl.
Enums§
- Storage
Backend Config - Tagged storage backend selector — matches JSS’s
{ "type": "fs"|"memory"|"s3", … }JSON shape.