Skip to content

Commit b5344f4

Browse files
committed
chore: loosen tonic/prost version bounds
This permits using tonic 0.10. Fix #1458
1 parent 5aa0311 commit b5344f4

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

examples/tracing-grpc/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ path = "src/client.rs"
1717
opentelemetry = { path = "../../opentelemetry" }
1818
opentelemetry_sdk = { path = "../../opentelemetry-sdk", features = ["rt-tokio"]}
1919
opentelemetry-stdout = { path = "../../opentelemetry-stdout", features = ["trace"] }
20-
prost = "0.11"
20+
prost = "0.12.3"
2121
tokio = { version = "1.28", features = ["full"] }
22-
tonic = "0.9.2"
22+
tonic = "0.10.2"
2323

2424
[build-dependencies]
2525
tonic-build = "0.9.2"

opentelemetry-otlp/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ opentelemetry-http = { version = "0.10", path = "../opentelemetry-http", optiona
3535
opentelemetry-proto = { version = "0.4", path = "../opentelemetry-proto", default-features = false }
3636
opentelemetry-semantic-conventions = { version = "0.13", path = "../opentelemetry-semantic-conventions" }
3737

38-
prost = { version = "0.11.0", optional = true }
39-
tonic = { version = "0.9.0", optional = true }
38+
prost = { version = ">=0.11.0 <0.13", optional = true }
39+
tonic = { version = ">=0.9.0 <0.11", optional = true }
4040
tokio = { version = "1.0", features = ["sync", "rt"], optional = true }
4141

4242
reqwest = { version = "0.11", optional = true, default-features = false }

opentelemetry-proto/Cargo.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,9 @@ with-serde = ["serde"]
4646

4747
[dependencies]
4848
grpcio = { version = "0.12", optional = true, features = ["prost-codec"] }
49-
tonic = { version = "0.9.0", default-features = false, optional = true, features = ["codegen", "prost"] }
50-
prost = { version = "0.11.0", optional = true }
49+
50+
tonic = { version = ">=0.9.0 <0.11", default-features = false, optional = true, features = ["codegen", "prost"] }
51+
prost = { version = ">=0.11.0 <0.13", optional = true }
5152
opentelemetry = { version = "0.21", default-features = false, path = "../opentelemetry" }
5253
opentelemetry_sdk = { version = "0.21", default-features = false, path = "../opentelemetry-sdk" }
5354
schemars = { version = "0.8", optional = true }

0 commit comments

Comments
 (0)