mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-17 07:41:23 +01:00
drop nested config
This functionality was never actually used AFAICT, as no way to provide alternate profiles was ever provided. This changes the configuration format to remove the `[global]` section, everything that was previously under that namespace is now at the top level.
This commit is contained in:
parent
44088852cf
commit
003c0a4928
3 changed files with 10 additions and 11 deletions
|
|
@ -111,7 +111,7 @@ async fn try_main() -> Result<(), error::Main> {
|
|||
let args = args::parse();
|
||||
|
||||
// Initialize config
|
||||
let raw_config = Figment::new().merge(Toml::file(&args.config).nested());
|
||||
let raw_config = Figment::new().merge(Toml::file(&args.config));
|
||||
|
||||
let config = raw_config.extract::<Config>()?;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue