Skip to content

Commit 4c00a7d

Browse files
committed
chore: strip dotenv (unmaintained) from project
It is no longer needed as configuration is loaded via. TOML or direct env if appropriate.
1 parent b9ae333 commit 4c00a7d

File tree

5 files changed

+0
-14
lines changed

5 files changed

+0
-14
lines changed

Cargo.lock

Lines changed: 0 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/core/config/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ default = ["test"]
1515

1616
[dependencies]
1717
# Utility
18-
dotenv = "0.15.0"
1918
config = "0.13.3"
2019
cached = "0.44.0"
2120
once_cell = "1.18.0"

crates/core/config/src/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -287,8 +287,6 @@ pub async fn config() -> Settings {
287287

288288
/// Configure logging and common Rust variables
289289
pub async fn setup_logging(release: &'static str, dsn: String) -> Option<sentry::ClientInitGuard> {
290-
dotenv::dotenv().ok();
291-
292290
if std::env::var("RUST_LOG").is_err() {
293291
std::env::set_var("RUST_LOG", "info");
294292
}

crates/delta/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ redis-kiss = "0.1.4"
1616
lru = "0.7.0"
1717
url = "2.2.2"
1818
log = "0.4.11"
19-
dotenv = "0.15.0"
2019
dashmap = "5.2.0"
2120
linkify = "0.6.0"
2221
once_cell = "1.17.1"

crates/delta/src/util/test.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ pub struct TestHarness {
1919

2020
impl TestHarness {
2121
pub async fn new() -> TestHarness {
22-
dotenv::dotenv().ok();
23-
2422
let client = Client::tracked(crate::web().await)
2523
.await
2624
.expect("valid rocket instance");

0 commit comments

Comments
 (0)