marcoow / rust_rest

MIT License
5 stars 1 forks source link

Add environment-specific content handling #40

Closed marcoow closed 10 months ago

marcoow commented 10 months ago

Basic configuration is stored in config/app.toml, environment-specific settings are in e.g. config/environments/production.toml. The configuration is parsed into a struct defined in src/config.rs that the developer can add things to as needed.

see #34