Switched to a maintained fork of dotenv

This commit is contained in:
Dreaded_X 2023-01-09 01:39:40 +01:00
parent 21b96c2925
commit 0b22d0c6b7
3 changed files with 6 additions and 6 deletions

8
Cargo.lock generated
View File

@ -41,7 +41,7 @@ dependencies = [
"anyhow", "anyhow",
"axum", "axum",
"bytes", "bytes",
"dotenv", "dotenvy",
"google-home", "google-home",
"impl_cast", "impl_cast",
"parking_lot", "parking_lot",
@ -162,10 +162,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5827cebf4670468b8772dd191856768aedcb1b0278a04f989f7766351917b9dc" checksum = "5827cebf4670468b8772dd191856768aedcb1b0278a04f989f7766351917b9dc"
[[package]] [[package]]
name = "dotenv" name = "dotenvy"
version = "0.15.0" version = "0.15.6"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "77c90badedccf4105eca100756a0b1289e191f6fcbdadd3cee1d2f614f97da8f" checksum = "03d8c417d7a8cb362e0c37e5d815f5eb7c37f79ff93707329d5a194e42e54ca0"
[[package]] [[package]]
name = "encoding_rs" name = "encoding_rs"

View File

@ -18,7 +18,7 @@ google-home = {path = "./google-home"}
paste = "1.0.10" paste = "1.0.10"
tokio = { version = "1", features = ["rt-multi-thread"] } tokio = { version = "1", features = ["rt-multi-thread"] }
toml = "0.5.10" toml = "0.5.10"
dotenv = "0.15.0" dotenvy = "0.15.0"
anyhow = "1.0.68" anyhow = "1.0.68"
reqwest = { version = "0.11.13", features = ["json", "rustls-tls"], default-features = false } # Use rustls, since the other packages also use rustls reqwest = { version = "0.11.13", features = ["json", "rustls-tls"], default-features = false } # Use rustls, since the other packages also use rustls
axum = "0.6.1" axum = "0.6.1"

View File

@ -5,7 +5,7 @@ use parking_lot::RwLock;
use axum::{Router, Json, routing::post, http::StatusCode, extract::FromRef}; use axum::{Router, Json, routing::post, http::StatusCode, extract::FromRef};
use automation::{config::{Config, OpenIDConfig}, presence::Presence, ntfy::Ntfy, light_sensor::LightSensor, hue_bridge::HueBridge, auth::User}; use automation::{config::{Config, OpenIDConfig}, presence::Presence, ntfy::Ntfy, light_sensor::LightSensor, hue_bridge::HueBridge, auth::User};
use dotenv::dotenv; use dotenvy::dotenv;
use rumqttc::{MqttOptions, Transport, AsyncClient}; use rumqttc::{MqttOptions, Transport, AsyncClient};
use tracing::{error, info, metadata::LevelFilter}; use tracing::{error, info, metadata::LevelFilter};