diff --git a/rpxy-bin/src/config/parse.rs b/rpxy-bin/src/config/parse.rs index d139354..aa10795 100644 --- a/rpxy-bin/src/config/parse.rs +++ b/rpxy-bin/src/config/parse.rs @@ -1,4 +1,4 @@ -use super::toml::ConfigToml; +use super::toml::{ConfigToml, ConfigTomlExt}; use crate::error::{anyhow, ensure}; use ahash::HashMap; use clap::Arg; @@ -53,8 +53,6 @@ pub fn parse_opts() -> Result { }) } -use super::toml::ConfigTomlExt; - /// Build proxy and app settings from config using ConfigTomlExt pub fn build_settings(config: &ConfigToml) -> Result<(ProxyConfig, AppConfigList), anyhow::Error> { config.validate_and_build_settings()