diff --git a/proto/Cargo.toml b/proto/Cargo.toml index 601b7c3..4ebc580 100644 --- a/proto/Cargo.toml +++ b/proto/Cargo.toml @@ -41,7 +41,7 @@ std = ["client"] # Enable gRPC support using tonic; internal, consider using `server` or `client` instead grpc = ["client", "dep:tonic", "tonic/codegen", "tonic/prost"] # Build gRPC server using tonic. Includes `client` feature. -server = ["client"] +server = ["client", "tonic/transport"] # Build minimal gRPC client using tonic, without transport client = ["tenderdash-proto-compiler/grpc", "prost/std", "grpc"] diff --git a/proto/src/lib.rs b/proto/src/lib.rs index be1025d..f65315b 100644 --- a/proto/src/lib.rs +++ b/proto/src/lib.rs @@ -50,6 +50,7 @@ pub mod tenderdash_grpc_client; // Now, re-export correct module #[cfg(feature = "server")] +#[rustfmt::skip] pub use tenderdash_grpc::*; #[cfg(all(not(feature = "server"), feature = "client"))] pub use tenderdash_grpc_client::*;