aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml.orig
diff options
context:
space:
mode:
Diffstat (limited to 'Cargo.toml.orig')
-rwxr-xr-xCargo.toml.orig48
1 files changed, 41 insertions, 7 deletions
diff --git a/Cargo.toml.orig b/Cargo.toml.orig
index 1dc9def..86a8f92 100755
--- a/Cargo.toml.orig
+++ b/Cargo.toml.orig
@@ -1,7 +1,7 @@
[package]
authors = ["Jorge Aparicio <japaricious@gmail.com>", "Brook Heisler <brookheisler@gmail.com>"]
name = "criterion"
-version = "0.3.3"
+version = "0.3.4"
edition = "2018"
description = "Statistics-driven micro-benchmarking library"
@@ -16,7 +16,7 @@ exclude = ["book/*"]
[dependencies]
lazy_static = "1.4"
criterion-plot = { path="plot", version="0.4.3" }
-itertools = "0.9"
+itertools = "0.10"
serde = "1.0"
serde_json = "1.0"
serde_derive = "1.0"
@@ -31,17 +31,22 @@ num-traits = { version = "0.2", default-features = false }
oorandom = "11.1"
rayon = "1.3"
regex = { version = "1.3", default-features = false, features = ["std"] }
+futures = { version = "0.3", default_features = false, optional = true }
+smol = { version = "1.2", default-features = false, optional = true }
+tokio = { version = "1.0", default-features = false, features = ["rt"], optional = true }
+async-std = { version = "1.9", optional = true }
[dependencies.plotters]
-version = "^0.2.12"
+version = "^0.3.0"
default-features = false
-features = ["svg", "area_series", "line_series"]
+features = ["svg_backend", "area_series", "line_series"]
[dev-dependencies]
tempfile = "3.1"
-approx = "0.3"
+approx = "0.4"
quickcheck = { version = "0.9", default-features = false }
-rand = "0.7"
+rand = "0.8"
+futures = { version = "0.3", default_features = false, features = ["executor"] }
[badges]
travis-ci = { repository = "bheisler/criterion.rs" }
@@ -49,8 +54,33 @@ appveyor = { repository = "bheisler/criterion.rs", id = "4255ads9ctpupcl2" }
maintenance = { status = "passively-maintained" }
[features]
+default = ["cargo_bench_support"]
+
+# Enable use of the nightly-only test::black_box function to discourage compiler optimizations.
real_blackbox = []
-default = []
+
+# Enable async/await support
+async = ["futures"]
+
+# These features enable built-in support for running async benchmarks on each different async
+# runtime.
+async_futures = ["futures/executor", "async"]
+async_smol = ["smol", "async"]
+async_tokio = ["tokio", "async"]
+async_std = ["async-std", "async"]
+
+# This feature _currently_ does nothing except disable a warning message, but in 0.4.0 it will be
+# required in order to have Criterion.rs generate its own plots (as opposed to using cargo-criterion)
+html_reports = []
+
+# This feature _currently_ does nothing except disable a warning message, but in 0.4.0 it will be
+# required in order to have Criterion.rs be usable outside of cargo-criterion.
+cargo_bench_support = []
+
+# This feature _currently_ does nothing, but in 0.4.0 it will be
+# required in order to have Criterion.rs generate CSV files. This feature is deprecated in favor of
+# cargo-criterion's --message-format=json option.
+csv_output = []
[workspace]
exclude = ["cargo-criterion"]
@@ -61,3 +91,7 @@ harness = false
[lib]
bench = false
+
+# Enable all of the async runtimes for the docs.rs output
+[package.metadata.docs.rs]
+features = ["async_futures", "async_smol", "async_std", "async_tokio"] \ No newline at end of file