Skip to content

Commit

Permalink
chore: fix deps
Browse files Browse the repository at this point in the history
  • Loading branch information
lklimek committed Jan 8, 2025
1 parent fb9f8a6 commit 1fa973d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion proto/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

Expand Down
1 change: 1 addition & 0 deletions proto/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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::*;
Expand Down

0 comments on commit 1fa973d

Please sign in to comment.