diff --git a/Cargo.lock b/Cargo.lock index c7684c7..0ea3b5c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -813,10 +813,10 @@ dependencies = [ ] [[package]] -name = "dotenv" -version = "0.15.0" +name = "dotenvy" +version = "0.15.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77c90badedccf4105eca100756a0b1289e191f6fcbdadd3cee1d2f614f97da8f" +checksum = "1aaf95b3e5c8f23aa320147307562d361db0ae0d51242340f558153b4eb2439b" [[package]] name = "encoding_rs" @@ -1892,7 +1892,7 @@ dependencies = [ "bytes", "bytesize", "crc32fast", - "dotenv", + "dotenvy", "env_logger", "futures-core", "inotify", diff --git a/Cargo.toml b/Cargo.toml index 4e8d5c6..e36d257 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -19,7 +19,7 @@ base64 = "0.13" bytes = "1.1.0" bytesize = "1.1.0" crc32fast = "1.3.2" -dotenv = "0.15" +dotenvy = "0.15" env_logger = "0.11.3" futures-core = "0.3" inotify = "0.10" diff --git a/src/main.rs b/src/main.rs index 21e6aa6..b0e5ec4 100644 --- a/src/main.rs +++ b/src/main.rs @@ -374,7 +374,7 @@ where #[actix_web::main] async fn main() -> std::io::Result<()> { - dotenv::dotenv().ok(); + dotenvy::dotenv().ok(); env_logger::init(); let static_dir: PathBuf = env_or_else("TRANSBEAM_STATIC_DIR", || PathBuf::from("static"));