Skip to content

Commit

Permalink
Update dependencies.
Browse files Browse the repository at this point in the history
  • Loading branch information
kukabi committed Oct 28, 2024
1 parent 35b0bb8 commit baae900
Show file tree
Hide file tree
Showing 26 changed files with 982 additions and 662 deletions.
1,496 changes: 908 additions & 588 deletions Cargo.lock

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions subvt-app-service/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ edition = "2021"
rust-version = "1.67.0"

[dependencies]
actix-http = "3.8"
actix-http = "3.9"
actix-service = "2.0"
actix-web = "4.8"
actix-web = "4.9"
anyhow = { workspace = true }
async-trait = "0.1"
futures = "0.3"
Expand All @@ -26,7 +26,7 @@ subvt-metrics = { path = "../subvt-metrics" }
subvt-persistence = { path = "../subvt-persistence" }
subvt-service-common = { path = "../subvt-service-common" }
subvt-types = { path = "../subvt-types" }
tokio = { version = "1.40", features = ["full"] }
tokio = { version = "1.41", features = ["full"] }

[dev-dependencies]
actix-rt = "2.9"
actix-rt = "2.10"
4 changes: 2 additions & 2 deletions subvt-app-service/src/auth/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ where
metrics::connection_count().dec();
return Err(auth_error);
}
return match service.call(request).await {
match service.call(request).await {
Ok(response) => {
let status_code = response.response().status();
metrics::response_time_ms().observe(start.elapsed().as_millis() as f64);
Expand All @@ -163,7 +163,7 @@ where
metrics::connection_count().dec();
Err(error)
}
};
}
}
.boxed_local()
}
Expand Down
6 changes: 3 additions & 3 deletions subvt-block-processor/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ rust-version = "1.67.0"

[dependencies]
anyhow = { workspace = true }
async-lock = "3.3"
async-lock = "3.4"
async-recursion = "1.0"
async-trait = "0.1"
chrono = { version = "0.4", default-features = true, features = ["serde"] }
hex = "0.4"
lazy_static = { workspace = true }
log = { workspace = true }
once_cell = "1"
parity-scale-codec = "3.4"
parity-scale-codec = "3.6"
rustc-hash = "2.0"
serde_json = "1.0"
subvt-config = { path = "../subvt-config" }
Expand All @@ -24,4 +24,4 @@ subvt-persistence = { path = "../subvt-persistence" }
subvt-service-common = { path = "../subvt-service-common" }
subvt-substrate-client = { path = "../subvt-substrate-client" }
subvt-types = { path = "../subvt-types" }
tokio = { version = "1.40", features = ["full"] }
tokio = { version = "1.41", features = ["full"] }
2 changes: 1 addition & 1 deletion subvt-governance/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ reqwest = { version = "0.12", features = ["blocking", "json", "gzip", "brotli"]
serde_json = "1.0"
subvt-config = { path = "../subvt-config" }
subvt-types = { path = "../subvt-types" }
tokio = { version = "1.40", features = ["full"] }
tokio = { version = "1.41", features = ["full"] }
2 changes: 1 addition & 1 deletion subvt-kline-updater/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ subvt-metrics = { path = "../subvt-metrics" }
subvt-persistence = { path = "../subvt-persistence" }
subvt-service-common = { path = "../subvt-service-common" }
subvt-types = { path = "../subvt-types" }
tokio = { version = "1.40", features = ["full"] }
tokio = { version = "1.41", features = ["full"] }
zip-extract = "0.2.1"
2 changes: 1 addition & 1 deletion subvt-metrics/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ once_cell = "1"
prometheus = "0.13"
subvt-config = { path = "../subvt-config" }
thiserror = { workspace = true }
tokio = { version = "1.40", features = ["time", "rt-multi-thread"] }
tokio = { version = "1.41", features = ["time", "rt-multi-thread"] }
warp = { version = "0.3", default-features = false }
6 changes: 3 additions & 3 deletions subvt-network-status-server/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,20 @@ rust-version = "1.67.0"
[dependencies]
anyhow = { workspace = true }
async-trait = "0.1"
bus = "2.3"
bus = "2.4"
chrono = "0.4"
env_logger = "0.11"
futures-util = "0.3"
jsonrpsee = { version = "0.24", features = ["full"] }
lazy_static = { workspace = true }
log = { workspace = true }
once_cell = "1"
redis = { version = "0.26", features = ["tokio-comp"] }
redis = { version = "0.27", features = ["tokio-comp"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
subvt-config = { path = "../subvt-config" }
subvt-metrics = { path = "../subvt-metrics" }
subvt-service-common = { path = "../subvt-service-common" }
subvt-types = { path = "../subvt-types" }
subvt-logging = { path = "../subvt-logging" }
tokio = { version = "1.40", features = ["full"] }
tokio = { version = "1.41", features = ["full"] }
4 changes: 2 additions & 2 deletions subvt-network-status-updater/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ chrono = "0.4"
lazy_static = { workspace = true }
log = { workspace = true }
once_cell = "1"
redis = { version = "0.26", features = ["tokio-comp"] }
redis = { version = "0.27", features = ["tokio-comp"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
subvt-config = { path = "../subvt-config" }
Expand All @@ -20,4 +20,4 @@ subvt-metrics = { path = "../subvt-metrics" }
subvt-service-common = { path = "../subvt-service-common" }
subvt-substrate-client = { path = "../subvt-substrate-client" }
subvt-types = { path = "../subvt-types" }
tokio = { version = "1.40", features = ["full"] }
tokio = { version = "1.41", features = ["full"] }
6 changes: 3 additions & 3 deletions subvt-notification-generator/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ rust-version = "1.67.0"

[dependencies]
anyhow = { workspace = true }
async-lock = "3.3"
async-lock = "3.4"
async-trait = "0.1"
chrono = "0.4"
futures = "0.3"
futures-util = "0.3"
lazy_static = { workspace = true }
log = { workspace = true }
once_cell = "1"
redis = "0.26"
redis = "0.27"
rustc-hash = "2.0"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
Expand All @@ -25,4 +25,4 @@ subvt-logging = { path = "../subvt-logging" }
subvt-metrics = { path = "../subvt-metrics" }
subvt-persistence = { path = "../subvt-persistence" }
subvt-substrate-client = { path = "../subvt-substrate-client" }
tokio = { version = "1.40", features = ["full"] }
tokio = { version = "1.41", features = ["full"] }
8 changes: 4 additions & 4 deletions subvt-notification-processor/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ a2 = "0.10"
anyhow = { workspace = true }
async-trait = "0.1"
chrono = "0.4"
fcm = "0.9.1"
fcm = "0.9.2"
futures = "0.3"
futures-util = "0.3"
itertools = { workspace = true }
Expand All @@ -21,7 +21,7 @@ lettre = { version = "0.11", default-features = true, features = ["tokio1-native
lettre_email = "0.9"
log = { workspace = true }
once_cell = "1"
redis = { version = "0.26", features = ["tokio-comp"] }
redis = { version = "0.27", features = ["tokio-comp"] }
rustc-hash = "2.0"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
Expand All @@ -33,6 +33,6 @@ subvt-service-common = { path = "../subvt-service-common" }
subvt-telegram-bot = { path = "../subvt-telegram-bot" }
subvt-types = { path = "../subvt-types" }
subvt-utility = { path = "../subvt-utility" }
tera = "1.19"
tera = "1.20"
thiserror = { workspace = true }
tokio = { version = "1.40", features = ["full"] }
tokio = { version = "1.41", features = ["full"] }
2 changes: 1 addition & 1 deletion subvt-onekv-updater/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ subvt-persistence = { path = "../subvt-persistence" }
subvt-service-common = { path = "../subvt-service-common" }
subvt-types = { path = "../subvt-types" }
subvt-logging = { path = "../subvt-logging" }
tokio = { version = "1.40", features = ["full"] }
tokio = { version = "1.41", features = ["full"] }
2 changes: 1 addition & 1 deletion subvt-persistence/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ hex = "0.4"
lazy_static = { workspace = true }
log = { workspace = true }
parity-scale-codec = "3.6"
redis = { version = "0.26", features = ["tokio-comp"] }
redis = { version = "0.27", features = ["tokio-comp"] }
rustc-hash = "2.0"
serde = { version = "1.0" }
serde_json = "1.0"
Expand Down
6 changes: 3 additions & 3 deletions subvt-plotter/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ log = { workspace = true }
lazy_static = { workspace = true }
thiserror = { workspace = true }
rand = "0.8.5"
resvg = "0.43"
resvg = "0.44"
rustc-hash = "2.0"
subvt-config = { path = "../subvt-config" }
subvt-types = { path = "../subvt-types" }
subvt-utility = { path = "../subvt-utility" }
svg = "0.17"
svg = "0.18"
tiny-skia = "0.11"
usvg = "0.43"
usvg = "0.44"
2 changes: 1 addition & 1 deletion subvt-referendum-updater/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ subvt-persistence = { path = "../subvt-persistence" }
subvt-service-common = { path = "../subvt-service-common" }
subvt-types = { path = "../subvt-types" }
subvt-logging = { path = "../subvt-logging" }
tokio = { version = "1.40", features = ["full"] }
tokio = { version = "1.41", features = ["full"] }
6 changes: 3 additions & 3 deletions subvt-report-service/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ edition = "2021"
rust-version = "1.67.0"

[dependencies]
actix-web = "4.8"
actix-web = "4.9"
anyhow = { workspace = true }
async-trait = "0.1"
chrono = "0.4"
Expand All @@ -14,7 +14,7 @@ hex = "0.4"
lazy_static = { workspace = true }
log = { workspace = true }
once_cell = "1"
redis = { version = "0.26", features = ["tokio-comp"] }
redis = { version = "0.27", features = ["tokio-comp"] }
rustc-hash = "2.0"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
Expand All @@ -26,4 +26,4 @@ subvt-service-common = { path = "../subvt-service-common" }
subvt-substrate-client = { path = "../subvt-substrate-client" }
subvt-types = { path = "../subvt-types" }
subvt-logging = { path = "../subvt-logging" }
tokio = { version = "1.40", features = ["full"] }
tokio = { version = "1.41", features = ["full"] }
4 changes: 2 additions & 2 deletions subvt-report-service/src/era/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,9 @@ pub(crate) async fn current_era_service(data: web::Data<ServiceState>) -> Result
if let Some(era) = data.postgres.get_current_era().await? {
Ok(HttpResponse::Ok().json(era))
} else {
return Ok(HttpResponse::NotFound().json(ServiceError::from(
Ok(HttpResponse::NotFound().json(ServiceError::from(
"Current era not found.".to_string().as_ref(),
)));
)))
}
}

Expand Down
4 changes: 2 additions & 2 deletions subvt-report-service/src/session/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ pub(crate) async fn current_session_service(data: web::Data<ServiceState>) -> Re
if let Some(epoch) = data.postgres.get_current_epoch().await? {
Ok(HttpResponse::Ok().json(epoch))
} else {
return Ok(HttpResponse::NotFound().json(ServiceError::from(
Ok(HttpResponse::NotFound().json(ServiceError::from(
"Current era not found.".to_string().as_ref(),
)));
)))
}
}
6 changes: 3 additions & 3 deletions subvt-service-common/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ edition = "2021"
rust-version = "1.67.0"

[dependencies]
actix-web = "4.8"
actix-web = "4.9"
anyhow = { workspace = true }
async-trait = "0.1"
log = { workspace = true }
serde_json = "1.0"
sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.15.1" }
sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.16.1" }
subvt-config = { path = "../subvt-config" }
subvt-logging = { path = "../subvt-logging" }
subvt-metrics = { path = "../subvt-metrics" }
subvt-types = { path = "../subvt-types" }
tokio = { version = "1.40", features = ["full"] }
tokio = { version = "1.41", features = ["full"] }
8 changes: 4 additions & 4 deletions subvt-substrate-client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ rust-version = "1.67.0"

[dependencies]
anyhow = { workspace = true }
async-lock = "3.3"
async-lock = "3.4"
async-recursion = "1.0"
blake2-rfc = { version = "0.2", default-features = false }
byteorder = { version = "1.5", default-features = false }
Expand All @@ -21,15 +21,15 @@ parity-scale-codec = { version = "3.6", default-features = false, features = ["d
rustc-hash = "2.0"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.15.1" }
sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.16.1" }
subvt-config = { path = "../subvt-config" }
subvt-types = { path = "../subvt-types" }
subvt-utility = { path = "../subvt-utility" }
tokio = { version = "1.40", features = ["full"] }
tokio = { version = "1.41", features = ["full"] }
twox-hash = { version = "1.6", features = ["digest_0_9"] }

[dev-dependencies]
hex = "0.4"
lazy_static = { workspace = true }
subvt-config = { path = "../subvt-config" }
tokio = { version = "1.40", features = ["full"] }
tokio = { version = "1.41", features = ["full"] }
2 changes: 1 addition & 1 deletion subvt-telegram-bot/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ subvt-types = { path = "../subvt-types" }
subvt-utility = { path = "../subvt-utility" }
tera = "1.19"
thiserror = { workspace = true }
tokio = { version = "1.40", features = ["full"] }
tokio = { version = "1.41", features = ["full"] }

[dev-dependencies]
mockall = "0.13"
Expand Down
6 changes: 3 additions & 3 deletions subvt-telemetry-processor/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ rust-version = "1.67.0"

[dependencies]
anyhow = { workspace = true }
async-lock = "3.3"
async-lock = "3.4"
async-trait = "0.1"
async-tungstenite = { version = "0.27", features = ["tokio-runtime", "tokio-native-tls"] }
async-tungstenite = { version = "0.28", features = ["tokio-runtime", "tokio-native-tls"] }
futures = "0.3"
lazy_static = { workspace = true }
log = { workspace = true }
Expand All @@ -22,4 +22,4 @@ subvt-metrics = { path = "../subvt-metrics" }
subvt-persistence = { path = "../subvt-persistence" }
subvt-service-common = { path = "../subvt-service-common" }
subvt-types = { path = "../subvt-types" }
tokio = { version = "1.40", features = ["full"] }
tokio = { version = "1.41", features = ["full"] }
Loading

0 comments on commit baae900

Please sign in to comment.