Expand description
Configuration loading and merging logic for perfgate.
Loads TOML configuration files, merges environment variables and CLI overrides, and resolves baseline server settings for perfgate workflows.
Part of the perfgate workspace.
§Example
use perfgate_config::load_config_file;
use std::path::Path;
let config = load_config_file(Path::new("perfgate.toml")).unwrap();
println!("Benches: {}", config.benches.len());Structs§
- Resolved
Server Config - Resolved server configuration with all sources merged.
Functions§
- load_
config_ file - Loads the perfgate.toml or perfgate.json config file.
- resolve_
server_ config - Resolves server configuration from multiple sources.