Skip to content

Commit

Permalink
build: pin serde to avoid breaking change
Browse files Browse the repository at this point in the history
serde 1.0.198 brings a breaking change, until we upgrade the compiler...

Signed-off-by: Tiago Castro <[email protected]>
  • Loading branch information
tiagolobocastro committed Jul 17, 2024
1 parent 8b038d9 commit 79183cc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,12 @@ tracing = "0.1.37"
features = ["derive"]
version = "1.0.188"

[patch.crates-io]
# v1.0.198 introduces a breaking change by making use of unstable feature saturating_int_impl!
# Let's ensure we don't use v.1.0.198 or newer until we upgrade the compiler!
# https://github.com/serde-rs/serde/issues/2734
serde = "<1.0.98"

[dependencies.uuid]
features = ["v4"]
version = "1.4"

0 comments on commit 79183cc

Please sign in to comment.