soulseek-rs: main: Add support for dotenv environment

Signed-off-by: Ariel D'Alessandro <ariel.dalessandro@collabora.com>
This commit is contained in:
Ariel D'Alessandro
2026-01-29 19:36:15 -03:00
parent dfe6f532fa
commit 3696e95760
3 changed files with 9 additions and 0 deletions
+1
View File
@@ -19,3 +19,4 @@ soulseek-rs-lib = { version = "0.3.0", path = "../soulseek-rs-lib" }
clap = { version = "4.5.51", features = ["derive", "color", "wrap_help", "env"] }
ratatui = "0.29.0"
color-eyre = "0.6.5"
dotenv = "0.15.0"
+1
View File
@@ -16,6 +16,7 @@ use std::{
use ui::{FileSelector, launch_main_tui, show_multi_download_progress};
fn main() -> Result<()> {
dotenv::dotenv().ok();
color_eyre::install()?;
let cli = Cli::parse();