Skip to content

Commit

Permalink
chore: bump deps (#532)
Browse files Browse the repository at this point in the history
* test: clippy

* chore: bump deps
  • Loading branch information
bodymindarts authored Mar 25, 2024
1 parent 7a828ec commit 067a59e
Show file tree
Hide file tree
Showing 13 changed files with 135 additions and 165 deletions.
225 changes: 96 additions & 129 deletions Cargo.lock

Large diffs are not rendered by default.

23 changes: 13 additions & 10 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,23 +15,24 @@ members = [
]

[workspace.dependencies]
reqwest = { version = "0.11.22", default-features = false, features = ["json", "rustls-tls"] }
reqwest = { version = "0.11.27", default-features = false, features = ["json", "rustls-tls"] }
tokio-tungstenite = { version = "0.20.1", features = ["rustls-tls-webpki-roots"] }
url = { version = "2.5.0", features = ["serde"] }
axum = "0.6.11"
axum-core = "0.3.4"
serial_test = { version = "*" , features = ["file_locks"] }
serde = { version = "1.0.197", features = ["derive"] }
serde_json = "1.0.114"
serde_yaml = "0.9.31"
serde_yaml = "0.9.34"
serde_with = { version = "3.6.1", features = ["chrono_0_4"] }
sqlx = { version = "0.7.2", features = [ "runtime-tokio-rustls", "postgres", "rust_decimal", "uuid", "chrono", "json" ] }
sqlx = { version = "0.7.4", features = [ "runtime-tokio-rustls", "postgres", "rust_decimal", "uuid", "chrono", "json" ] }
sqlxmq = { version = "0.5.0", default-features = false, features = ["runtime-tokio-rustls"] }
sqlx-ledger = { version = "0.11.3", features = ["otel"] }
tokio = { version = "1.36", features = ["full"] }
futures = "0.3.27"
async-trait = "0.1.77"
thiserror = "1.0.49"
anyhow = "1.0.70"
futures = "0.3.30"
async-trait = "0.1.78"
thiserror = "1.0.58"
anyhow = "1.0.81"
tracing = "0.1.40"
tracing-subscriber = { version = "0.3.18", features = ["env-filter", "json"] }
tracing-opentelemetry = "0.23.0"
Expand All @@ -48,11 +49,13 @@ rust_decimal_macros = "1.34.2"
governor = "0.5.1"
lazy_static = "1.4.0"
rand = "0.8.5"
itertools = "0.10.5"
itertools = "0.11.0"
crc32fast = "1.3.2"
clap = { version = "4.5", features = ["derive", "env"] }
tonic = "0.10.2"
prost = "0.12.1"
tonic = "0.11"
tonic-build = { version = "0.11", features = ["prost"] }
protobuf-src = { version = "1.1.0" }
prost = "0.12.3"
prost-wkt-types = { version = "0.5.0", features = ["vendored-protoc"]}
graphql_client = {version = "0.12.0", features = ["reqwest"]}
rusty-money = "0.4.1"
Expand Down
6 changes: 3 additions & 3 deletions bria-client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ async-trait = { workspace = true }
prost-wkt-types = { workspace = true }

[build-dependencies]
protobuf-src = { version = "1.1.0" }
tonic-build = { version = "0.10.2", features = ["prost"] }
protobuf-src = { workspace = true }
tonic-build = { workspace = true}

[dev-dependencies]
anyhow = "1.0.70"
anyhow = { workspace = true }
rand = { workspace = true }
4 changes: 2 additions & 2 deletions galoy-client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ opentelemetry_sdk = { workspace = true }
opentelemetry-http = { workspace = true }

[dev-dependencies]
anyhow = "1.0.70"
tokio = { version = "1.35.1", features = ["macros"] }
anyhow = { workspace = true }
tokio = { workspace = true }
4 changes: 2 additions & 2 deletions hedging/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,5 @@ serde_with = { workspace = true }
h2 = "0.4.2"

[dev-dependencies]
anyhow = "1.0.70"
serial_test = "*"
anyhow = { workspace = true }
serial_test = { workspace = true }
4 changes: 2 additions & 2 deletions ledger/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ tracing = { workspace = true }
uuid = { workspace = true }

[dev-dependencies]
anyhow = "1.0.70"
serial_test = { version = "*" , features = ["file_locks"] }
anyhow = { workspace = true }
serial_test = { workspace = true }
4 changes: 2 additions & 2 deletions okex-client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ rand = { workspace = true }
tracing = { workspace = true }

[dev-dependencies]
anyhow = "1.0.70"
serial_test = "*"
anyhow = { workspace = true }
serial_test = { workspace = true }
2 changes: 1 addition & 1 deletion okex-price/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ serde_with = { workspace = true }
chrono = { workspace = true }

[dev-dependencies]
chrono = { version = "0.4", features = ["clock", "serde"], default-features = false }
chrono = { workspace = true }
2 changes: 1 addition & 1 deletion okex-price/tests/price_feed.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ async fn subscribes_to_tickers_channel() -> anyhow::Result<()> {
let duration_since = TimeStamp::try_from(&price_tick.data[0].ts)
.expect("couldn't convert timestamp")
.duration_since();
assert!(duration_since < Duration::seconds(30));
assert!(duration_since < Duration::try_seconds(30).unwrap());

let data = &price_tick.data[0];
assert!(data.ask_px >= data.bid_px);
Expand Down
10 changes: 5 additions & 5 deletions price-server/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ serde_with = { workspace = true }
async-trait = { workspace = true }

[build-dependencies]
protobuf-src = { version = "1.1.0" }
tonic-build = { version = "0.10.2", features = ["prost"] }
protobuf-src = { workspace = true }
tonic-build = { workspace = true}

[dev-dependencies]
anyhow = "1.0.70"
serde = "1.0.194"
serde_json = "1.0.107"
anyhow = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
12 changes: 6 additions & 6 deletions quotes-server/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ tonic = { workspace = true }
tokio = { workspace = true }

[build-dependencies]
protobuf-src = { version = "1.1.0" }
tonic-build = { version = "0.10", features = ["prost"] }
protobuf-src = { workspace = true }
tonic-build = { workspace = true}

[dev-dependencies]
anyhow = "1.0.70"
serde = "1.0.194"
serde_json = "1.0.93"
serial_test = { version = "*" , features = [ "file_locks"] }
anyhow = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
serial_test = { workspace = true }
2 changes: 1 addition & 1 deletion quotes-server/tests/quote_app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ async fn quotes_app() -> anyhow::Result<()> {
QuotesExchangePriceCacheConfig::default(),
ex_cfgs,
QuotesConfig {
expiration_interval: Duration::seconds(2),
expiration_interval: Duration::try_seconds(2).expect("valid duration"),
},
ledger,
)
Expand Down
2 changes: 1 addition & 1 deletion user-trades/src/job/poll_galoy_transactions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ mod tests {
#[test]
fn unify_transactions() {
let created_at = chrono::Utc::now();
let created_earlier = created_at - chrono::Duration::days(1);
let created_earlier = created_at - chrono::Duration::try_days(1).unwrap();
let tx1 = UnpairedTransaction {
id: "id1".to_string(),
created_at,
Expand Down

0 comments on commit 067a59e

Please sign in to comment.