File tree 2 files changed +2
-5
lines changed
opentelemetry-otlp/src/exporter
opentelemetry-proto/src/transform
2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -31,10 +31,7 @@ pub const OTEL_EXPORTER_OTLP_COMPRESSION: &str = "OTEL_EXPORTER_OTLP_COMPRESSION
31
31
#[ cfg( feature = "http-json" ) ]
32
32
/// Default protocol, using http-json.
33
33
pub const OTEL_EXPORTER_OTLP_PROTOCOL_DEFAULT : & str = OTEL_EXPORTER_OTLP_PROTOCOL_HTTP_JSON ;
34
- #[ cfg( all(
35
- feature = "http-proto" ,
36
- not( any( feature = "grpc-tonic" , feature = "http-json" ) )
37
- ) ) ]
34
+ #[ cfg( all( feature = "http-proto" , not( feature = "http-json" ) ) ) ]
38
35
/// Default protocol, using http-proto.
39
36
pub const OTEL_EXPORTER_OTLP_PROTOCOL_DEFAULT : & str = OTEL_EXPORTER_OTLP_PROTOCOL_HTTP_PROTOBUF ;
40
37
#[ cfg( all(
Original file line number Diff line number Diff line change 1
- #[ cfg( feature = "gen-tonic" ) ]
1
+ #[ cfg( feature = "gen-tonic-messages " ) ]
2
2
pub mod tonic {
3
3
use crate :: {
4
4
tonic:: {
You can’t perform that action at this time.
0 commit comments