remove dotenv

main
overlisted 1 month ago
parent cdd85db2e4
commit a43abe0491
Signed by: me
GPG Key ID: 1ACCDCC0429C9737
  1. 1
      .env.example
  2. 7
      Cargo.lock
  3. 1
      Cargo.toml
  4. 2
      src/main.rs

@ -1 +0,0 @@
# DATABASE_URL=postgres://localhost/mango

7
Cargo.lock generated

@ -348,12 +348,6 @@ dependencies = [
"subtle",
]
[[package]]
name = "dotenv"
version = "0.15.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "77c90badedccf4105eca100756a0b1289e191f6fcbdadd3cee1d2f614f97da8f"
[[package]]
name = "either"
version = "1.6.1"
@ -837,7 +831,6 @@ dependencies = [
"chrono",
"diesel",
"diesel_migrations",
"dotenv",
"handlebars",
"ipnetwork",
"rocket",

@ -5,7 +5,6 @@ edition = "2021"
[dependencies]
tokio = "1"
dotenv = "0"
chrono = { version = "0", features = ["serde"] }
ipnetwork = "0"

@ -11,8 +11,6 @@ mod guards;
#[rocket::launch]
fn rocket() -> _ {
dotenv::dotenv().ok();
rocket::build()
.attach(fairings::db())
.attach(fairings::ip_log())

Loading…
Cancel
Save