diff options
| author | MaxVerevkin <maxxverrr@gmail.com> | 2023-03-26 00:14:45 +0200 |
|---|---|---|
| committer | MaxVerevkin <maxxverrr@gmail.com> | 2023-03-26 00:14:45 +0200 |
| commit | b274a0fa443a74f82baaccc92176ee50fd5d9f69 (patch) | |
| tree | 7eb53cd8ad57c65f0ae97c87541b687e94da11f2 /src/config.rs | |
| parent | 246314fa5a028ebd852a5c13b3d09cf0ba63d905 (diff) | |
| download | i3bar-mango-b274a0fa443a74f82baaccc92176ee50fd5d9f69.tar.gz | |
remove env_logger dependency
I didn't really use it anyway
Reduces binary size from 1.9M to 1.3M
Diffstat (limited to 'src/config.rs')
| -rw-r--r-- | src/config.rs | 6 |
1 files changed, 3 insertions, 3 deletions
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() } }) |
