mirror of
https://codeberg.org/Toasterson/solstice-ci.git
synced 2026-04-10 13:20:41 +00:00
Upgrade dependencies for Axum, Tonic, Prost, and related build tools across crates
This commit updates multiple dependencies, including: - `axum` upgraded to 0.8 for HTTP and webhook functionality. - `tonic` upgraded to 0.14 for gRPC support. - `prost` upgraded to 0.14 for protobuf processing. - Addition of `tonic-prost` and `tonic-prost-build` for updated gRPC build configurations. Relevant Cargo.toml entries and `build.rs` are adjusted to reflect these updates.
This commit is contained in:
parent
7ca7966916
commit
952262ede4
5 changed files with 8 additions and 7 deletions
|
|
@ -16,8 +16,8 @@ tracing-appender = "0.2"
|
|||
atty = "0.2"
|
||||
kdl = "6"
|
||||
# gRPC/protobuf runtime for Runner API
|
||||
tonic = { version = "0.12", features = ["transport"] }
|
||||
prost = "0.13"
|
||||
tonic = { version = "0.14", features = ["transport"] }
|
||||
prost = "0.14"
|
||||
# messaging + serialization
|
||||
lapin = { version = "3", default-features = false, features = ["rustls"] }
|
||||
serde = { version = "1", features = ["derive"] }
|
||||
|
|
@ -26,6 +26,7 @@ uuid = { version = "1", features = ["serde", "v4"] }
|
|||
time = { version = "0.3", features = ["serde", "macros"] }
|
||||
futures-util = "0.3"
|
||||
tokio = { version = "1", features = ["rt-multi-thread", "macros", "time"] }
|
||||
tonic-prost = "0.14.2"
|
||||
|
||||
[build-dependencies]
|
||||
tonic-build = "0.12"
|
||||
tonic-prost-build = { version = "0.14", features = ["transport"] }
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
fn main() {
|
||||
// Compile gRPC protobufs for Runner <-> Orchestrator
|
||||
println!("cargo:rerun-if-changed=proto/runner.proto");
|
||||
tonic_build::configure()
|
||||
tonic_prost_build::configure()
|
||||
.build_server(true)
|
||||
.compile_protos(&["proto/runner.proto"], &["proto"])
|
||||
.expect("failed to compile runner proto");
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ miette = { version = "7", features = ["fancy"] }
|
|||
tracing = "0.1"
|
||||
tokio = { version = "1", features = ["rt-multi-thread", "macros", "signal"] }
|
||||
# HTTP + Webhooks
|
||||
axum = { version = "0.7", features = ["macros"] }
|
||||
axum = { version = "0.8", features = ["macros"] }
|
||||
serde = { version = "1", features = ["derive"] }
|
||||
serde_json = "1"
|
||||
# Signature verification
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ reqwest = { version = "0.12", default-features = false, features = ["rustls-tls-
|
|||
bytes = "1"
|
||||
path-absolutize = "3"
|
||||
# gRPC server
|
||||
tonic = { version = "0.12", features = ["transport"] }
|
||||
tonic = { version = "0.14", features = ["transport"] }
|
||||
# Compression/decompression
|
||||
zstd = "0.13"
|
||||
# DB (optional basic persistence)
|
||||
|
|
|
|||
|
|
@ -16,5 +16,5 @@ tokio = { version = "1", features = ["rt-multi-thread", "macros", "process", "fs
|
|||
serde = { version = "1", features = ["derive"] }
|
||||
serde_yaml = "0.9"
|
||||
# gRPC client
|
||||
tonic = { version = "0.12", features = ["transport"] }
|
||||
tonic = { version = "0.14", features = ["transport"] }
|
||||
tokio-stream = "0.1"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue