diff --git a/build/build-sdk-images/rust/Dockerfile b/build/build-sdk-images/rust/Dockerfile index f121d08bd0..774db063d3 100644 --- a/build/build-sdk-images/rust/Dockerfile +++ b/build/build-sdk-images/rust/Dockerfile @@ -22,7 +22,7 @@ RUN apt-get --allow-releaseinfo-change update && \ ENV RUSTUP_HOME=/usr/local/rustup \ CARGO_HOME=/usr/local/cargo \ PATH=/usr/local/cargo/bin:$PATH \ - RUST_VERSION=1.71.0 + RUST_VERSION=1.71.1 RUN wget -q https://static.rust-lang.org/rustup/dist/x86_64-unknown-linux-gnu/rustup-init && \ chmod +x rustup-init && \ ./rustup-init -y --no-modify-path --default-toolchain $RUST_VERSION && \ diff --git a/sdks/rust/Cargo.toml b/sdks/rust/Cargo.toml index f16460f109..18c7e8fcde 100644 --- a/sdks/rust/Cargo.toml +++ b/sdks/rust/Cargo.toml @@ -23,23 +23,23 @@ documentation = "https://docs.rs/agones" homepage = "https://agones.dev/site/" [dependencies] -async-stream = "0.3" -http = "0.2" -prost = "0.11.9" -prost-types = "0.11.9" -thiserror = "1.0" +async-stream = "0.3.6" +http = "1.1.0" +prost = "0.13.3" +prost-types = "0.13.3" +thiserror = "1.0.64" [dependencies.tokio] -version = "1.32" +version = "1.40.0" default-features = false features = ["sync", "time"] [dependencies.tonic] -version = "0.9.2" +version = "0.12.3" default-features = false features = ["codegen", "transport", "prost"] [build-dependencies.tonic-build] -version = "0.9.2" +version = "0.12.3" default-features = false features = ["prost", "transport"] diff --git a/sdks/rust/build.rs b/sdks/rust/build.rs index 81c1d63262..62f57a4987 100644 --- a/sdks/rust/build.rs +++ b/sdks/rust/build.rs @@ -2,7 +2,7 @@ fn main() { tonic_build::configure() // The SDK is just a client, no need to build the server types .build_server(false) - .compile( + .compile_protos( &["proto/sdk/alpha/alpha.proto", "proto/sdk/sdk.proto"], &[ "proto/googleapis",