Module config

Module config 

Source
Expand description

Server configuration handler.

Parses rwf.toml configuration file and makes settings globally available.

Structs§

Config
Rwf configuration file. Can be deserialized from a TOML file, although any format supported by serde is possible.
DatabaseConfig
Database connection configuration.
General
General configuration. Most configuration settings are here.
PackageConfig
Configuration for packaging Rwf apps built with rwf-cli.
WebsocketConfig
WebSocket connections configuration.

Enums§

Error
Configuration error.

Functions§

get_config
Get application configuration.