Update lib-humus to 0.4

This commit is contained in:
Slatian
2025-10-10 13:17:04 +02:00
parent d3ee430092
commit a4c1b779f2
3 changed files with 73 additions and 11 deletions

View File

@@ -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!");