summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorseth <[email protected]>2023-07-09 20:52:10 -0400
committerseth <[email protected]>2023-07-09 20:52:10 -0400
commit7b56cb91184127f02125ddf27ce847eb0bb706c7 (patch)
tree313478ad91b617b1b2366d9b88f0a1ed2116d2e8
parent445822efad6682edbe0b1e27448b997fae9564c5 (diff)
fix: don't use dotenvy
docker and direnv take care of env vars
-rw-r--r--Cargo.lock7
-rw-r--r--Cargo.toml1
-rw-r--r--src/main.rs2
3 files changed, 0 insertions, 10 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 5a265ea..92b1ae8 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -330,12 +330,6 @@ dependencies = [
]
[[package]]
-name = "dotenvy"
-version = "0.15.7"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1aaf95b3e5c8f23aa320147307562d361db0ae0d51242340f558153b4eb2439b"
-
-[[package]]
name = "encoding_rs"
version = "0.8.32"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -1346,7 +1340,6 @@ name = "teawiebot"
version = "0.1.0"
dependencies = [
"bottomify",
- "dotenvy",
"include_dir",
"once_cell",
"rand 0.8.5",
diff --git a/Cargo.toml b/Cargo.toml
index bf6710e..e4b88d5 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -8,7 +8,6 @@ edition = "2021"
[dependencies]
bottomify = "1.2.0"
include_dir = "0.7.3"
-dotenvy = "0.15"
once_cell = "1.18.0"
rand = "0.8.5"
regex = "1.8.4"
diff --git a/src/main.rs b/src/main.rs
index d9e1cd5..a3e165e 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -159,8 +159,6 @@ impl EventHandler for Handler {
#[tokio::main]
async fn main() {
- dotenvy::dotenv().unwrap();
-
let framework = StandardFramework::new()
.configure(|c| c.prefix("!"))
.group(&GENERAL_GROUP);