Skip to content

Commit 24da5c9

Browse files
authored
fix: Use path+version dependencies for publishing to crates.io (#3167)
1 parent 6f75c58 commit 24da5c9

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

opentelemetry-otlp/Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ all-features = true
2727
rustdoc-args = ["--cfg", "docsrs"]
2828

2929
[dependencies]
30-
opentelemetry = { workspace = true }
31-
opentelemetry_sdk = { workspace = true }
32-
opentelemetry-http = { workspace = true, optional = true }
33-
opentelemetry-proto = { workspace = true }
30+
opentelemetry = { path = "../opentelemetry", version = "0.30.0", default-features = false }
31+
opentelemetry_sdk = { path = "../opentelemetry-sdk", version = "0.30.0", default-features = false }
32+
opentelemetry-http = { path = "../opentelemetry-http", version = "0.30.0", optional = true, default-features = false }
33+
opentelemetry-proto = { path = "../opentelemetry-proto", version = "0.30.1", default-features = false }
3434
tracing = {workspace = true, optional = true}
3535

3636
prost = { workspace = true, optional = true }
@@ -49,7 +49,7 @@ zstd = { version = "0.13", optional = true }
4949

5050
[dev-dependencies]
5151
tokio-stream = { workspace = true, features = ["net"] }
52-
opentelemetry_sdk = { workspace = true, features = ["trace", "testing"] }
52+
opentelemetry_sdk = { path = "../opentelemetry-sdk", version = "0.30.0", features = ["trace", "testing"], default-features = false }
5353
tokio = { workspace = true, features = ["macros", "rt-multi-thread"] }
5454
futures-util = { workspace = true }
5555
temp-env = { workspace = true }

opentelemetry-proto/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ with-serde = ["serde", "const-hex", "base64", "serde_json"]
5555
tonic = { workspace = true, optional = true, features = ["codegen"] }
5656
tonic-prost = { workspace = true, optional = true }
5757
prost = { workspace = true, optional = true }
58-
opentelemetry = { workspace = true }
59-
opentelemetry_sdk = { workspace = true }
58+
opentelemetry = { path = "../opentelemetry", version = "0.30.0", default-features = false }
59+
opentelemetry_sdk = { path = "../opentelemetry-sdk", version = "0.30.0", default-features = false }
6060
schemars = { workspace = true, optional = true }
6161
serde = { workspace = true, optional = true, features = ["serde_derive", "std"] }
6262
serde_json = { workspace = true, optional = true }

0 commit comments

Comments
 (0)