diff --git a/.env.example b/.env.example deleted file mode 100644 index ddf1965..0000000 --- a/.env.example +++ /dev/null @@ -1 +0,0 @@ -# DATABASE_URL=postgres://localhost/mango diff --git a/Cargo.lock b/Cargo.lock index 4995926..9d277d5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -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", diff --git a/Cargo.toml b/Cargo.toml index d634de9..4ae0b54 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,7 +5,6 @@ edition = "2021" [dependencies] tokio = "1" -dotenv = "0" chrono = { version = "0", features = ["serde"] } ipnetwork = "0" diff --git a/src/main.rs b/src/main.rs index cca7e3c..84c1ec5 100644 --- a/src/main.rs +++ b/src/main.rs @@ -11,8 +11,6 @@ mod guards; #[rocket::launch] fn rocket() -> _ { - dotenv::dotenv().ok(); - rocket::build() .attach(fairings::db()) .attach(fairings::ip_log())