-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bump crates to the latest versions #2638
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,46 +3,53 @@ resolver = "2" | |
members = ["crates/*"] | ||
|
||
[workspace.dependencies] | ||
anyhow = "1" | ||
async-trait = "0.1" | ||
anyhow = "1.0.82" | ||
async-trait = "0.1.80" | ||
axum = "0.6" | ||
bigdecimal = "0.3" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We cannot update |
||
cached = { version = "0.44", default-features = false } | ||
chrono = { version = "0.4", default-features = false } | ||
clap = { version = "4", features = ["derive", "env"] } | ||
derivative = "2" | ||
cached = { version = "0.49.3", default-features = false } | ||
chrono = { version = "0.4.38", default-features = false } | ||
clap = { version = "4.5.4", features = ["derive", "env"] } | ||
derivative = "2.2.0" | ||
ethcontract = { version = "0.25.6", default-features = false, features = ["aws-kms"] } | ||
ethcontract-generate = { version = "0.25.6", default-features = false } | ||
ethcontract-mock = { version = "0.25.6", default-features = false } | ||
ethereum-types = "0.14" | ||
futures = "0.3" | ||
ethereum-types = "0.14.1" | ||
flate2 = "1.0.28" | ||
futures = "0.3.30" | ||
gas-estimation = { git = "https://github.com/cowprotocol/gas-estimation", tag = "v0.7.3", features = ["web3_", "tokio_"] } | ||
hex = { version = "0.4", default-features = false } | ||
hex-literal = "0.4" | ||
hex = { version = "0.4.3", default-features = false } | ||
hex-literal = "0.4.1" | ||
humantime = "2.1.0" | ||
humantime-serde = "1.1.1" | ||
hyper = "0.14.28" | ||
indexmap = "2.2.5" | ||
itertools = "0.11" | ||
lazy_static = "1" | ||
maplit = "1" | ||
mockall = "0.11" | ||
num = "0.4" | ||
once_cell = "1" | ||
itertools = "0.12.1" | ||
lazy_static = "1.4.0" | ||
maplit = "1.0.2" | ||
mockall = "0.12.1" | ||
num = "0.4.2" | ||
once_cell = "1.19.0" | ||
primitive-types = "0.12" | ||
prometheus = "0.13" | ||
prometheus = "0.13.3" | ||
prometheus-metric-storage = "0.5.0" | ||
rand = "0.8" | ||
regex = "1" | ||
reqwest = "0.11" | ||
secp256k1 = "0.27" | ||
serde = { version = "1", features = ["derive"] } | ||
serde_json = "1" | ||
serde_with = "3" | ||
rand = "0.8.5" | ||
regex = "1.10.4" | ||
reqwest = "0.11.27" | ||
secp256k1 = "0.27.0" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We cannot update to There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The PR for the crate |
||
serde = { version = "1.0.198", features = ["derive"] } | ||
serde_json = "1.0.116" | ||
serde_with = "3.7.0" | ||
sqlx = { version = "0.7", default-features = false, features = ["runtime-tokio", "tls-native-tls", "bigdecimal", "chrono", "postgres", "macros"] } | ||
strum = { version = "0.25", features = ["derive"] } | ||
thiserror = "1" | ||
tokio = "1" | ||
tracing = "0.1" | ||
tracing-subscriber = "0.3" | ||
url = "2" | ||
strum = { version = "0.26.2", features = ["derive"] } | ||
tempfile = "3.10.1" | ||
time = { version = "0.3.25", features = ["macros"] } | ||
thiserror = "1.0.58" | ||
toml = "0.8.12" | ||
tokio = "1.37.0" | ||
tokio-stream = { version = "0.1.15", features = ["sync"] } | ||
tracing = "0.1.40" | ||
tracing-subscriber = "0.3.18" | ||
url = "2.5.0" | ||
warp = { git = 'https://github.com/cowprotocol/warp.git', rev = "87a91e2", default-features = false } | ||
web3 = { version = "0.19", default-features = false } | ||
web3 = { version = "0.19.0", default-features = false } |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1248,7 +1248,7 @@ mod tests { | |
assert_eq!(time, order.cancellation_timestamp.unwrap()); | ||
|
||
// Cancel again and verify that cancellation timestamp was not changed. | ||
let irrelevant_time = Utc.timestamp_opt(1234567890, 1_000_000_000).unwrap(); | ||
let irrelevant_time = Utc.timestamp_opt(1234564319, 1_000_000_000).unwrap(); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. From
So I needed to change the main timestamp to have as the second part |
||
assert_ne!(irrelevant_time, time); | ||
cancel_order(&mut db, &order.uid, time).await.unwrap(); | ||
let order = read_order(&mut db, &order.uid).await.unwrap().unwrap(); | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updating
axum
is a rabbit hole, but we need to do it sooner or later. The reason is that in order to updateaxum
we need to update altogether:hyper
http
cratereqwest
warp
(we are using our own forked version 3 years old...)I'd recommend to fully delete
warp
dependency (latest versions ofaxum
basically do everything whichwarp
does anyway). And then updateaxum
+hyper
which both have decent breaking changes.What do you guys think? should I create a task for it since it will be tricky to do?
I need to do this sooner or later, because we cannot update any of those crates.