@@ -15,8 +15,7 @@ repository = "https://github.com/hyperium/tonic"
|
||||
version = "0.5.0"
|
||||
|
||||
[features]
|
||||
default = ["transport", "rustfmt"]
|
||||
rustfmt = ["tonic-build/rustfmt"]
|
||||
default = ["transport"]
|
||||
transport = ["tonic/transport", "tonic-build/transport"]
|
||||
|
||||
[dependencies]
|
||||
|
||||
@@ -8,7 +8,6 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||
.file_descriptor_set_path(grpc_health_v1_descriptor_set_path)
|
||||
.build_server(true)
|
||||
.build_client(true)
|
||||
.format(false)
|
||||
.compile(&["proto/health.proto"], &["proto/"])?;
|
||||
|
||||
Ok(())
|
||||
|
||||
Reference in New Issue
Block a user