Skip to content

Commit a0382fe

Browse files
committed
diesel: Disable r2d2 in non-dev builds
1 parent 672dd2a commit a0382fe

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ deadpool-diesel = { version = "=0.6.0", features = ["postgres", "tracing"] }
7272
derive_builder = "=0.20.0"
7373
derive_deref = "=1.1.1"
7474
dialoguer = "=0.11.0"
75-
diesel = { version = "=2.1.5", features = ["postgres", "serde_json", "chrono", "r2d2", "numeric"] }
75+
diesel = { version = "=2.1.5", features = ["postgres", "serde_json", "chrono", "numeric"] }
7676
diesel_full_text_search = "=2.1.1"
7777
diesel_migrations = { version = "=2.1.0", features = ["postgres"] }
7878
dotenvy = "=0.15.7"
@@ -126,6 +126,7 @@ crates_io_index = { path = "crates/crates_io_index", features = ["testing"] }
126126
crates_io_tarball = { path = "crates/crates_io_tarball", features = ["builder"] }
127127
crates_io_test_db = { path = "crates/crates_io_test_db" }
128128
claims = "=0.7.1"
129+
diesel = { version = "=2.1.5", features = ["r2d2"] }
129130
googletest = "=0.11.0"
130131
insta = { version = "=1.38.0", features = ["json", "redactions"] }
131132
regex = "=1.10.4"

0 commit comments

Comments
 (0)