Expand description
Configuration types and loader for atrg.toml.
The Config struct is the single source of truth for all framework
configuration. It is loaded once at startup by Config::load and then
wrapped in an Arc inside AppState.
Structsยง
- AppConfig
[app]section ofatrg.toml.- Auth
Config [auth]section ofatrg.toml.- Config
- Root configuration, deserialized from
atrg.toml. - Database
Config [database]section ofatrg.toml.- Feed
Generator Config [feed_generator]section ofatrg.toml. Present when the server acts as an AT Protocol feed generator.- Firehose
Config [firehose]section ofatrg.toml. Present when relay firehose consumption is enabled (fullcom.atproto.sync.subscribeRepos).- Jetstream
Config [jetstream]section ofatrg.toml. Only present when Jetstream consumption is enabled.- Labeler
Config [labeler]section ofatrg.toml. Present when the server acts as an AT Protocol labeler.- Rate
Limit Toml Config [rate_limit]section ofatrg.toml.