Skip to main content

Module config

Module config 

Source
Expand description

Configuration file helpers and re-exports.

This module keeps the stable perfgate.toml / perfgate.json contract next to the receipt and schema types it configures.

Re-exports§

pub use crate::BaselineServerConfig;
pub use crate::BenchConfigFile;
pub use crate::ConfigFile;
pub use crate::DefaultsConfig;
pub use crate::RatchetChange;
pub use crate::RatchetConfig;
pub use crate::RatchetMode;

Enums§

ConfigLoadError
Error returned while loading a perfgate config file.
RatchetTomlEditError
Error returned while applying ratchet edits to a TOML config file.

Functions§

apply_ratchet_toml_changes
Apply threshold ratchet changes to a bench section in TOML while preserving comments/order.
load_config_file
Loads a perfgate.toml or perfgate.json config file.
preview_ratchet_toml_changes
Preview ratchet edits as human-readable lines.