Skip to content

Commit

Permalink
Add performance benchmarks
Browse files Browse the repository at this point in the history
  • Loading branch information
h33p committed Mar 30, 2023
1 parent 767e6db commit 5f985c2
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[workspace]
members = ["", "macro"]
default-members = ["macro"]
default-members = ["", "macro"]

[package]
name = "pollster"
Expand All @@ -14,6 +14,10 @@ edition = "2018"
license = "Apache-2.0/MIT"
readme = "README.md"

[[bench]]
name = "main"
harness = false

[features]
macro = ["pollster-macro"]

Expand All @@ -23,6 +27,7 @@ pollster-macro = { version = "0.1", path = "macro", optional = true }
[dev-dependencies]
futures-timer = "3.0"
tokio = { version = "1", features = ["sync"] }
criterion = "0.4"

[package.metadata.docs.rs]
all-features = true
Expand Down

0 comments on commit 5f985c2

Please sign in to comment.