diff --git a/Cargo.toml b/Cargo.toml index c6ae8b0..ffb4e29 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dragonfly-api" -version = "2.0.10" +version = "2.0.11" authors = ["Gaius "] edition = "2021" license = "Apache-2.0" @@ -11,10 +11,10 @@ readme = "README.md" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -tonic = "0.9.0" +tonic = "0.9.2" prost = "0.11" prost-types = "0.11" -tokio = { version = "1.27.0", features = ["rt-multi-thread", "macros"] } +tokio = { version = "1.28.1", features = ["rt-multi-thread", "macros"] } [build-dependencies] -tonic-build = "0.9.0" +tonic-build = "0.9.2" diff --git a/build.rs b/build.rs index c94be7c..a9d07b1 100644 --- a/build.rs +++ b/build.rs @@ -1,10 +1,8 @@ fn main() -> Result<(), Box> { tonic_build::configure() .file_descriptor_set_path("src/descriptor.bin") - .build_client(true) - .build_server(true) - .out_dir("src") .protoc_arg("--experimental_allow_proto3_optional") + .out_dir("src") .compile( &[ "proto/common.proto",