Skip to content

Commit

Permalink
Exclude default tonic-build features (open-telemetry#635)
Browse files Browse the repository at this point in the history
* Exclude default tonic-build features

* Remove now-unnecessary format disable from builder
  • Loading branch information
MarcusGrass authored Oct 1, 2021
1 parent e7ecf58 commit 0be8e3b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion opentelemetry-otlp/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -79,5 +79,5 @@ reqwest-rustls = ["reqwest", "reqwest/rustls-tls-native-roots"]
surf-client = ["surf", "opentelemetry-http/surf"]

[build-dependencies]
tonic-build = { version = "0.5", optional = true }
tonic-build = { version = "0.5", default-features = false, features = ["transport", "prost"], optional = true }
prost-build = {version = "0.8", optional = true }
1 change: 0 additions & 1 deletion opentelemetry-otlp/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ fn main() {
tonic_build::configure()
.build_server(std::env::var_os("CARGO_FEATURE_INTEGRATION_TESTING").is_some())
.build_client(true)
.format(false)
.out_dir(out_dir)
.compile(
&[
Expand Down

0 comments on commit 0be8e3b

Please sign in to comment.