Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin' into feat/pushd
Browse files Browse the repository at this point in the history
  • Loading branch information
IAmTomahawkx committed Nov 27, 2024
2 parents 457683e + 4c00a7d commit 3f58103
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 13 deletions.
8 changes: 0 additions & 8 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion crates/core/config/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ default = ["test"]

[dependencies]
# Utility
dotenv = "0.15.0"
config = "0.13.3"
cached = "0.44.0"
once_cell = "1.18.0"
Expand Down
2 changes: 0 additions & 2 deletions crates/core/config/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -357,8 +357,6 @@ pub async fn config() -> Settings {

/// Configure logging and common Rust variables
pub async fn setup_logging(release: &'static str, dsn: String) -> Option<sentry::ClientInitGuard> {
dotenv::dotenv().ok();

if std::env::var("RUST_LOG").is_err() {
std::env::set_var("RUST_LOG", "info");
}
Expand Down
1 change: 0 additions & 1 deletion crates/delta/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ redis-kiss = "0.1.4"
lru = "0.7.0"
url = "2.2.2"
log = "0.4.11"
dotenv = "0.15.0"
dashmap = "5.2.0"
linkify = "0.6.0"
once_cell = "1.17.1"
Expand Down
2 changes: 1 addition & 1 deletion crates/delta/src/util/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ pub struct TestHarness {

impl TestHarness {
pub async fn new() -> TestHarness {
dotenv::dotenv().ok();
let config = revolt_config::config().await;

let client = Client::tracked(crate::web().await)
.await
.expect("valid rocket instance");
Expand Down

0 comments on commit 3f58103

Please sign in to comment.