diff --git a/Cargo.toml b/Cargo.toml index 64bca02..33f49a7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -60,7 +60,7 @@ tokio = { version = "1.50.0", features = ["time", "sync", "macros", "io-util"] } tokio = { version = "1.50.0", features = ["full"] } [dev-dependencies] -dotenv = "0.15" +dotenvy = "0.15.7" tempfile = "3" sdp-rs = "0.2.1" rtp-rs = "0.6.0" diff --git a/examples/client/main.rs b/examples/client/main.rs index 637b319..9589ea4 100644 --- a/examples/client/main.rs +++ b/examples/client/main.rs @@ -141,7 +141,7 @@ async fn main() -> rsipstack::Result<()> { .try_init() .ok(); - if let Err(e) = dotenv::dotenv() { + if let Err(e) = dotenvy::dotenv() { info!(error = %e, "Failed to load .env file"); } diff --git a/examples/proxy.rs b/examples/proxy.rs index 928fb89..b6b189b 100644 --- a/examples/proxy.rs +++ b/examples/proxy.rs @@ -95,7 +95,7 @@ async fn main() -> Result<()> { .with_line_number(true) .try_init() .ok(); - if let Err(e) = dotenv::dotenv() { + if let Err(e) = dotenvy::dotenv() { info!(error = %e, "Failed to load .env file"); } let args = Args::parse();