Skip to content

Commit

Permalink
Make criterion a benchmarking only dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
faern committed Feb 1, 2025
1 parent e800aca commit e694a51
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,14 @@ async = []
loom = { version = "0.7.2", features = ["futures"], optional = true }

[dev-dependencies]
criterion = "0.5.1"
tokio = { version = "1", features = ["rt", "rt-multi-thread", "macros", "time"] }
async-std = { version = "1", features = ["attributes"] }

# Benchmarking only dependencies
[target.'cfg(not(test))'.dev-dependencies]
criterion = "0.5.1"


[lints.rust]
unexpected_cfgs = { level = "deny", check-cfg = ['cfg(oneshot_loom)', 'cfg(oneshot_test_delay)'] }

Expand Down

0 comments on commit e694a51

Please sign in to comment.