Skip to main content

Crate perfgate_config

Crate perfgate_config 

Source
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§

ResolvedServerConfig
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.