Skip to content

Commit e22c2a9

Browse files
authored
database: Enable postgres feature of diesel-async (#11442)
This change makes `cargo check --package crates_io_database` pass without any issues.
1 parent 8fcd3f1 commit e22c2a9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

crates/crates_io_database/Cargo.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ chrono = { version = "=0.4.41", default-features = false, features = ["serde"] }
1313
crates_io_diesel_helpers = { path = "../crates_io_diesel_helpers" }
1414
crates_io_index = { path = "../crates_io_index" }
1515
diesel = { version = "=2.2.11", features = ["serde_json", "chrono", "numeric"] }
16-
diesel-async = "=0.5.2"
16+
diesel-async = { version = "=0.5.2", features = ["postgres"] }
1717
diesel_full_text_search = "=2.2.0"
1818
futures-util = "=0.3.31"
1919
rand = "=0.9.1"
@@ -30,7 +30,6 @@ utoipa = { version = "=5.4.0", features = ["chrono"] }
3030
[dev-dependencies]
3131
claims = "=0.8.0"
3232
crates_io_test_db = { path = "../crates_io_test_db" }
33-
diesel-async = { version = "=0.5.2", features = ["postgres"] }
3433
googletest = "=0.14.2"
3534
insta = "=1.43.1"
3635
tokio = { version = "=1.45.1", features = ["macros", "rt"] }

0 commit comments

Comments
 (0)