@@ -36,7 +36,7 @@ full = ["gen-tonic", "trace", "logs", "metrics", "zpages", "with-serde", "intern
36
36
37
37
# crates used to generate rs files
38
38
gen-tonic = [" gen-tonic-messages" , " tonic/channel" ]
39
- gen-tonic-messages = [" tonic" , " prost" ]
39
+ gen-tonic-messages = [" tonic" , " tonic-prost " , " prost" ]
40
40
41
41
# telemetry pillars and functions
42
42
trace = [" opentelemetry/trace" , " opentelemetry_sdk/trace" ]
@@ -52,7 +52,8 @@ with-schemars = ["schemars"]
52
52
with-serde = [" serde" , " const-hex" , " base64" , " serde_json" ]
53
53
54
54
[dependencies ]
55
- tonic = { workspace = true , optional = true , features = [" codegen" , " prost" ] }
55
+ tonic = { workspace = true , optional = true , features = [" codegen" ] }
56
+ tonic-prost = { workspace = true , optional = true }
56
57
prost = { workspace = true , optional = true }
57
58
opentelemetry = { workspace = true }
58
59
opentelemetry_sdk = { workspace = true }
@@ -64,7 +65,7 @@ base64 = { workspace = true, optional = true }
64
65
65
66
[dev-dependencies ]
66
67
opentelemetry = { workspace = true , features = [" testing" ] }
67
- tonic-build = { workspace = true }
68
+ tonic-prost- build = { workspace = true }
68
69
prost-build = { workspace = true }
69
70
tempfile = { workspace = true }
70
71
serde_json = { workspace = true }
0 commit comments