diff --git a/build.rs b/build.rs index e196fd6..376471a 100644 --- a/build.rs +++ b/build.rs @@ -4,9 +4,9 @@ extern crate tonic_build; fn main() -> Result<(), Box> { - tonic_build::configure() - .build_server(true) - .out_dir("src/utils/") - .compile(&["src/utils/proto/keyprovider.proto"], &["src/utils"])?; + // tonic_build::configure() + // .build_server(true) + // .out_dir("src/utils/") + // .compile(&["src/utils/proto/keyprovider.proto"], &["src/utils"])?; Ok(()) } diff --git a/src/utils/keyprovider.rs b/src/utils/keyprovider.rs index d12ce43..c481f8e 100644 --- a/src/utils/keyprovider.rs +++ b/src/utils/keyprovider.rs @@ -59,11 +59,13 @@ pub mod key_provider_service_client { #[doc = r""] #[doc = r" This requires the server to support it otherwise it might respond with an"] #[doc = r" error."] + #[must_use] pub fn send_gzip(mut self) -> Self { self.inner = self.inner.send_gzip(); self } #[doc = r" Enable decompressing responses with `gzip`."] + #[must_use] pub fn accept_gzip(mut self) -> Self { self.inner = self.inner.accept_gzip(); self