Skip to main content

Crate opensession_runtime_config

Crate opensession_runtime_config 

Source
Expand description

Shared daemon/TUI configuration types.

Both opensession-daemon and opensession-tui read/write opensession.toml using these types. Daemon-specific logic (watch-path resolution, project config merging) lives in the daemon crate; TUI-specific logic (settings layout, field editing) lives in the TUI crate.

Structs§

DaemonConfig
Top-level daemon configuration (persisted as opensession.toml).
DaemonSettings
GitRetentionSettings
GitStorageSettings
IdentitySettings
PrivacySettings
ServerSettings
WatcherSettings

Enums§

CalendarDisplayMode
GitStorageMethod
PublishMode

Constants§

CONFIG_FILE_NAME
Canonical config file name used by daemon/cli/tui.
DEFAULT_WATCH_PATHS

Functions§

apply_compat_fallbacks
Apply compatibility fallbacks after loading raw TOML. Returns true when any field was updated.
default_watch_paths