Skip to content

Commit 81fea07

Browse files
rex4539cijothomas
andauthored
Avoid duplicate crates (#2703)
Co-authored-by: Cijo Thomas <[email protected]>
1 parent bfd9f31 commit 81fea07

File tree

18 files changed

+66
-41
lines changed

18 files changed

+66
-41
lines changed

Cargo.toml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,31 @@ tracing = { version = ">=0.1.40", default-features = false }
5353
tracing-core = { version = ">=0.1.33", default-features = false }
5454
tracing-subscriber = { version = "0.3", default-features = false }
5555
url = { version = "2.5", default-features = false }
56+
anyhow = "1.0.94"
57+
base64 = "0.22.1"
58+
chrono = { version = "0.4.34", default-features = false }
59+
ctor = "0.2.9"
60+
ctrlc = "3.2.5"
61+
futures-channel = "0.3"
62+
futures-sink = "0.3"
63+
glob = "0.3.1"
64+
hex = "0.4.3"
65+
lazy_static = "1.4.0"
66+
num-format = "0.4.4"
67+
num_cpus = "1.15.0"
68+
opentelemetry-appender-tracing = { path = "opentelemetry-appender-tracing", default-features = false }
69+
opentelemetry-otlp = { path = "opentelemetry-otlp" }
70+
opentelemetry-stdout = { path = "opentelemetry-stdout" }
71+
percent-encoding = "2.0"
72+
rstest = "0.23.0"
73+
schemars = "0.8"
74+
sysinfo = "0.32"
75+
tempfile = "3.3.0"
76+
testcontainers = "0.23.1"
77+
tracing-log = "0.2"
78+
tracing-opentelemetry = "0.29"
79+
typed-builder = "0.20"
80+
uuid = "1.3"
5681

5782
# Aviod use of crates.io version of these crates through the tracing-opentelemetry dependencies
5883
[patch.crates-io]

examples/logs-basic/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ publish = false
77

88
[dependencies]
99
opentelemetry_sdk = { path = "../../opentelemetry-sdk", features = ["logs"] }
10-
opentelemetry-stdout = { path = "../../opentelemetry-stdout", features = ["logs"]}
11-
opentelemetry-appender-tracing = { path = "../../opentelemetry-appender-tracing", default-features = false}
10+
opentelemetry-stdout = { workspace = true, features = ["logs"] }
11+
opentelemetry-appender-tracing = { workspace = true }
1212
tracing = { workspace = true, features = ["std"]}
1313
tracing-subscriber = { workspace = true, features = ["env-filter","registry", "std", "fmt"] }

examples/metrics-advanced/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ publish = false
88
[dependencies]
99
opentelemetry = { path = "../../opentelemetry", features = ["metrics"] }
1010
opentelemetry_sdk = { path = "../../opentelemetry-sdk", features = ["spec_unstable_metrics_views", "rt-tokio"] }
11-
opentelemetry-stdout = { path = "../../opentelemetry-stdout", features = ["metrics"] }
11+
opentelemetry-stdout = { workspace = true, features = ["metrics"] }
1212
tokio = { workspace = true, features = ["full"] }

examples/metrics-basic/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ publish = false
88
[dependencies]
99
opentelemetry = { path = "../../opentelemetry", features = ["metrics"] }
1010
opentelemetry_sdk = { path = "../../opentelemetry-sdk", features = ["metrics", "rt-tokio"] }
11-
opentelemetry-stdout = { path = "../../opentelemetry-stdout", features = ["metrics"]}
11+
opentelemetry-stdout = { workspace = true, features = ["metrics"] }
1212
tokio = { workspace = true, features = ["full"] }
1313

examples/tracing-grpc/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ path = "src/client.rs"
1616
[dependencies]
1717
opentelemetry = { path = "../../opentelemetry" }
1818
opentelemetry_sdk = { path = "../../opentelemetry-sdk", features = ["rt-tokio"] }
19-
opentelemetry-stdout = { path = "../../opentelemetry-stdout", features = ["trace"] }
19+
opentelemetry-stdout = { workspace = true, features = ["trace"] }
2020
prost = { workspace = true }
2121
tokio = { workspace = true, features = ["full"] }
2222
tonic = { workspace = true, features = ["server"] }

examples/tracing-http-propagator/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,5 @@ tokio = { workspace = true, features = ["full"] }
2323
opentelemetry = { path = "../../opentelemetry" }
2424
opentelemetry_sdk = { path = "../../opentelemetry-sdk" }
2525
opentelemetry-http = { path = "../../opentelemetry-http" }
26-
opentelemetry-stdout = { path = "../../opentelemetry-stdout", features = ["trace"] }
26+
opentelemetry-stdout = { workspace = true, features = ["trace"] }
2727
opentelemetry-semantic-conventions = { path = "../../opentelemetry-semantic-conventions" }

examples/tracing-jaeger/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ publish = false
88
[dependencies]
99
opentelemetry = { path = "../../opentelemetry" }
1010
opentelemetry_sdk = { path = "../../opentelemetry-sdk", features = ["rt-tokio"] }
11-
opentelemetry-otlp = { path = "../../opentelemetry-otlp", features = ["tonic"] }
11+
opentelemetry-otlp = { workspace = true, features = ["tonic"] }
1212
tokio = { workspace = true, features = ["full"] }

opentelemetry-appender-log/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ opentelemetry_sdk = { path = "../opentelemetry-sdk", features = [
3030
"testing",
3131
"spec_unstable_logs_enabled",
3232
] }
33-
opentelemetry-stdout = { path = "../opentelemetry-stdout", features = ["logs"] }
33+
opentelemetry-stdout = { workspace = true, features = ["logs"] }
3434
log = { workspace = true, features = ["kv_serde"] }
3535
tokio = { workspace = true }
3636
serde = { workspace = true, features = ["std", "derive"] }

opentelemetry-appender-tracing/Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,17 @@ log = { workspace = true, optional = true }
1515
opentelemetry = { version = "0.28", path = "../opentelemetry", features = ["logs"] }
1616
tracing = { workspace = true, features = ["std"]}
1717
tracing-core = { workspace = true }
18-
tracing-log = { version = "0.2", optional = true }
18+
tracing-log = { workspace = true, optional = true }
1919
tracing-subscriber = { workspace = true, features = ["registry", "std"] }
20-
tracing-opentelemetry = { version = "0.29", optional = true }
20+
tracing-opentelemetry = { workspace = true, optional = true }
2121

2222
[dev-dependencies]
2323
log = { workspace = true }
24-
opentelemetry-stdout = { path = "../opentelemetry-stdout", features = ["logs"] }
24+
opentelemetry-stdout = { workspace = true, features = ["logs"] }
2525
opentelemetry_sdk = { path = "../opentelemetry-sdk", features = ["logs", "testing"] }
2626
tracing = { workspace = true, features = ["std"]}
2727
tracing-subscriber = { workspace = true, features = ["env-filter","registry", "std", "fmt"] }
28-
tracing-log = "0.2"
28+
tracing-log = { workspace = true }
2929
criterion = { workspace = true }
3030
tokio = { workspace = true, features = ["full"]}
3131

opentelemetry-otlp/examples/basic-otlp-http/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ reqwest-blocking = ["opentelemetry-otlp/reqwest-blocking-client"]
1212
[dependencies]
1313
opentelemetry = { path = "../../../opentelemetry" }
1414
opentelemetry_sdk = { path = "../../../opentelemetry-sdk" }
15-
opentelemetry-otlp = { path = "../.."}
16-
opentelemetry-appender-tracing = { path = "../../../opentelemetry-appender-tracing"}
15+
opentelemetry-otlp = { workspace = true }
16+
opentelemetry-appender-tracing = { workspace = true }
1717

1818
tokio = { workspace = true, features = ["full"] }
1919
tracing = { workspace = true, features = ["std"]}

0 commit comments

Comments
 (0)