improve proxy functionality and configuration

This commit is contained in:
2025-12-25 09:53:46 +00:00
parent 5045c05f9f
commit 208b7f4598
13 changed files with 293 additions and 161 deletions

8
src/config/utils.rs Normal file
View File

@@ -0,0 +1,8 @@
use std::io;
pub fn generate_toml_parser_error_in_field(field: &str) -> io::Error {
io::Error::new(
io::ErrorKind::InvalidData,
format!("Invalid format for config.toml in {} field", field),
)
}