Skip to content

Commit d66dff9

Browse files
committed
diesel: Enable numeric feature
This is needed to support the `Numeric` type in Postgres, which is used by our custom `to_semver_no_prerelease` function
1 parent b2b2cfb commit d66dff9

File tree

2 files changed

+30
-1
lines changed

2 files changed

+30
-1
lines changed

Cargo.lock

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

Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ rustdoc-args = [
3131
[dependencies]
3232
anyhow = "1.0"
3333
base64 = "0.13"
34+
bigdecimal = { version = ">= 0.0.10, < 0.2.0", features = ["serde"] }
3435
cargo-registry-markdown = { path = "cargo-registry-markdown" }
3536
cargo-registry-s3 = { path = "cargo-registry-s3" }
3637
chrono = { version = "0.4.19", features = ["serde"] }
@@ -49,7 +50,7 @@ cookie = { version = "0.15", features = ["secure"] }
4950
dashmap = { version = "4.0.2", features = ["raw-api"] }
5051
derive_deref = "1.1.1"
5152
dialoguer = "0.9"
52-
diesel = { version = "1.4.8", features = ["postgres", "serde_json", "chrono", "r2d2"] }
53+
diesel = { version = "1.4.8", features = ["postgres", "serde_json", "chrono", "numeric", "r2d2"] }
5354
diesel_full_text_search = "1.0.1"
5455
diesel_migrations = { version = "1.4.0", features = ["postgres"] }
5556
dotenv = "0.15"

0 commit comments

Comments
 (0)