chore: Removed dotenvy
Since secrets can now be set from automation.toml the .env file was no longer used, so dotenvy can be removed.
This commit is contained in:
7
Cargo.lock
generated
7
Cargo.lock
generated
@@ -96,7 +96,6 @@ dependencies = [
|
|||||||
"automation_lib",
|
"automation_lib",
|
||||||
"axum",
|
"axum",
|
||||||
"config",
|
"config",
|
||||||
"dotenvy",
|
|
||||||
"git-version",
|
"git-version",
|
||||||
"google_home",
|
"google_home",
|
||||||
"mlua",
|
"mlua",
|
||||||
@@ -433,12 +432,6 @@ dependencies = [
|
|||||||
"syn 2.0.106",
|
"syn 2.0.106",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "dotenvy"
|
|
||||||
version = "0.15.7"
|
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
||||||
checksum = "1aaf95b3e5c8f23aa320147307562d361db0ae0d51242340f558153b4eb2439b"
|
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "dyn-clone"
|
name = "dyn-clone"
|
||||||
version = "1.0.20"
|
version = "1.0.20"
|
||||||
|
|||||||
@@ -23,7 +23,6 @@ automation_lib = { path = "./automation_lib" }
|
|||||||
automation_macro = { path = "./automation_macro" }
|
automation_macro = { path = "./automation_macro" }
|
||||||
axum = "0.8.4"
|
axum = "0.8.4"
|
||||||
bytes = "1.10.1"
|
bytes = "1.10.1"
|
||||||
dotenvy = "0.15.7"
|
|
||||||
dyn-clone = "1.0.20"
|
dyn-clone = "1.0.20"
|
||||||
eui48 = { version = "1.1.0", features = [
|
eui48 = { version = "1.1.0", features = [
|
||||||
"disp_hexstring",
|
"disp_hexstring",
|
||||||
@@ -75,7 +74,6 @@ config = { version = "0.15.15", default-features = false, features = [
|
|||||||
"async",
|
"async",
|
||||||
"toml",
|
"toml",
|
||||||
] }
|
] }
|
||||||
dotenvy = { workspace = true }
|
|
||||||
git-version = "0.3.9"
|
git-version = "0.3.9"
|
||||||
google_home = { workspace = true }
|
google_home = { workspace = true }
|
||||||
mlua = { workspace = true }
|
mlua = { workspace = true }
|
||||||
|
|||||||
@@ -17,7 +17,6 @@ use axum::http::StatusCode;
|
|||||||
use axum::routing::post;
|
use axum::routing::post;
|
||||||
use axum::{Json, Router};
|
use axum::{Json, Router};
|
||||||
use config::Config;
|
use config::Config;
|
||||||
use dotenvy::dotenv;
|
|
||||||
use google_home::{GoogleHome, Request, Response};
|
use google_home::{GoogleHome, Request, Response};
|
||||||
use mlua::LuaSerdeExt;
|
use mlua::LuaSerdeExt;
|
||||||
use rumqttc::AsyncClient;
|
use rumqttc::AsyncClient;
|
||||||
@@ -75,8 +74,6 @@ async fn fulfillment(
|
|||||||
}
|
}
|
||||||
|
|
||||||
async fn app() -> anyhow::Result<()> {
|
async fn app() -> anyhow::Result<()> {
|
||||||
dotenv().ok();
|
|
||||||
|
|
||||||
tracing_subscriber::fmt::init();
|
tracing_subscriber::fmt::init();
|
||||||
|
|
||||||
info!(version = VERSION, "automation_rs");
|
info!(version = VERSION, "automation_rs");
|
||||||
|
|||||||
Reference in New Issue
Block a user