Skip to content

Commit 50c574a

Browse files
authored
Add criterion to workspace dependencies (#1883)
1 parent 66e3ea5 commit 50c574a

File tree

5 files changed

+6
-5
lines changed

5 files changed

+6
-5
lines changed

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ debug = 1
1919
async-std = "1.10"
2020
async-trait = "0.1"
2121
bytes = "1"
22+
criterion = "0.5"
2223
futures-core = "0.3"
2324
futures-executor = "0.3"
2425
futures-util = { version = "0.3", default-features = false }

opentelemetry-appender-tracing/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ log = { workspace = true }
2424
opentelemetry-stdout = { path = "../opentelemetry-stdout", features = ["logs"] }
2525
opentelemetry_sdk = { path = "../opentelemetry-sdk", features = ["logs", "testing"] }
2626
tracing-log = "0.2"
27-
async-trait = "0.1"
28-
criterion = "0.5.1"
27+
async-trait = { workspace = true }
28+
criterion = { workspace = true }
2929

3030
[features]
3131
experimental_metadata_attributes = ["dep:tracing-log"]

opentelemetry-proto/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,4 +60,4 @@ hex = { version = "0.4.3", optional = true }
6060
tonic-build = { workspace = true }
6161
prost-build = { workspace = true }
6262
tempfile = "3.3.0"
63-
serde_json = "1.0"
63+
serde_json = { workspace = true }

opentelemetry-sdk/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ all-features = true
3434
rustdoc-args = ["--cfg", "docsrs"]
3535

3636
[dev-dependencies]
37-
criterion = { version = "0.5", features = ["html_reports"] }
37+
criterion = { workspace = true, features = ["html_reports"] }
3838
temp-env = { workspace = true }
3939

4040
[target.'cfg(not(target_os = "windows"))'.dev-dependencies]

opentelemetry/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ otel_unstable = []
4141

4242
[dev-dependencies]
4343
opentelemetry_sdk = { path = "../opentelemetry-sdk", features = ["logs_level_enabled"]} # for documentation tests
44-
criterion = { version = "0.3" }
44+
criterion = { workspace = true }
4545
rand = { workspace = true }
4646

4747
[[bench]]

0 commit comments

Comments
 (0)