mirror of
				https://codeberg.org/slatian/service.echoip-slatecave.git
				synced 2025-10-31 00:48:07 +01:00 
			
		
		
		
	Update lib-humus to 0.4
This commit is contained in:
		| @@ -45,7 +45,7 @@ use std::sync::Arc; | ||||
| use std::sync::LazyLock; | ||||
|  | ||||
| use lib_humus::TemplateEngineLoader; | ||||
| use lib_humus::read_toml_from_file; | ||||
| use lib_humus_configuration::read_from_toml_file; | ||||
| use lib_humus::HumusEngine; | ||||
|  | ||||
| mod config; | ||||
| @@ -182,7 +182,7 @@ async fn main() { | ||||
| 	// Read configuration file | ||||
| 	let config: config::EchoIpServiceConfig = match cli_args.config { | ||||
| 		Some(config_path) => { | ||||
| 			match read_toml_from_file::<config::EchoIpServiceConfig>(&config_path) { | ||||
| 			match read_from_toml_file::<config::EchoIpServiceConfig>(&config_path) { | ||||
| 				Ok(c) => c, | ||||
| 				Err(e) => { | ||||
| 					error!("Could not read confuration file!"); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user