mirror of
https://codeberg.org/Toasterson/solstice-ci.git
synced 2026-04-10 13:20:41 +00:00
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.
8 lines
306 B
Rust
8 lines
306 B
Rust
fn main() {
|
|
// Compile gRPC protobufs for Runner <-> Orchestrator
|
|
println!("cargo:rerun-if-changed=proto/runner.proto");
|
|
tonic_prost_build::configure()
|
|
.build_server(true)
|
|
.compile_protos(&["proto/runner.proto"], &["proto"])
|
|
.expect("failed to compile runner proto");
|
|
}
|