From b274a0fa443a74f82baaccc92176ee50fd5d9f69 Mon Sep 17 00:00:00 2001 From: MaxVerevkin Date: Sun, 26 Mar 2023 00:14:45 +0200 Subject: remove env_logger dependency I didn't really use it anyway Reduces binary size from 1.9M to 1.3M --- src/config.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/config.rs') diff --git a/src/config.rs b/src/config.rs index a65269f..3ce06a2 100644 --- a/src/config.rs +++ b/src/config.rs @@ -90,13 +90,13 @@ impl Config { read_to_string(config_path).context("Failed to read configuration")?; toml::from_str(&config).context("Failed to deserialize configuration")? } else { - info!("Using default configuration"); + eprintln!("Using default configuration"); Self::default() } } None => { - warn!("Could not find the configuration path"); - info!("Using default configuration"); + eprintln!("Could not find the configuration path"); + eprintln!("Using default configuration"); Self::default() } }) -- cgit v1.3.1