switch to dentenvy

This commit is contained in:
pierre
2023-07-21 10:47:37 +02:00
parent e2f8611876
commit 03ef5254cc
3 changed files with 5 additions and 6 deletions
+3 -3
View File
@@ -1414,9 +1414,9 @@ checksum = "77c90badedccf4105eca100756a0b1289e191f6fcbdadd3cee1d2f614f97da8f"
[[package]]
name = "dotenvy"
version = "0.15.6"
version = "0.15.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "03d8c417d7a8cb362e0c37e5d815f5eb7c37f79ff93707329d5a194e42e54ca0"
checksum = "1aaf95b3e5c8f23aa320147307562d361db0ae0d51242340f558153b4eb2439b"
[[package]]
name = "dtoa"
@@ -3532,7 +3532,7 @@ dependencies = [
"anyhow",
"bip39",
"dirs 4.0.0",
"dotenv",
"dotenvy",
"eyre",
"fern",
"fix-path-env",
+1 -1
View File
@@ -46,7 +46,7 @@ yaml-rust = "0.4"
toml = "0.7"
sentry = { version = "0.31.5", features = [ "anyhow" ] }
sentry-log = "0.31.5"
dotenv = "0.15.0"
dotenvy = "0.15.7"
nym-client-core = { path = "../../../common/client-core" }
nym-api-requests = { path = "../../../nym-api/nym-api-requests" }
+1 -2
View File
@@ -3,7 +3,6 @@
windows_subsystem = "windows"
)]
use dotenv::dotenv;
use std::env;
use std::sync::Arc;
@@ -29,7 +28,7 @@ mod tasks;
mod window;
fn main() {
dotenv().ok();
dotenvy::dotenv().ok();
setup_env(None);
println!("Starting up...");