(config_file: Option<&str>)
| 19 | pub const DEFAULT_CONFIG: &str = include_str!("../supervisor.toml"); |
| 20 | |
| 21 | pub fn load_config_figment(config_file: Option<&str>) -> Figment { |
| 22 | load_config("supervisor", DEFAULT_CONFIG, config_file, true) |
| 23 | } |
| 24 | |
| 25 | fn app_version() -> String { |
| 26 | const CARGO_PKG_VERSION: &str = env!("CARGO_PKG_VERSION"); |
no test coverage detected