# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "criterion2" version = "2.0.0" authors = [ "Boshen ", "Brook Heisler ", "Jorge Aparicio ", ] build = false exclude = ["book/*"] autobins = false autoexamples = false autotests = false autobenches = false description = "Statistics-driven micro-benchmarking library" homepage = "https://bheisler.github.io/criterion.rs/book/index.html" readme = "README.md" keywords = [ "benchmark", "criterion", ] categories = ["development-tools::profiling"] license = "Apache-2.0 OR MIT" repository = "https://github.com/Boshen/criterion2.rs" [package.metadata.docs.rs] features = [ "async_futures", "async_smol", "async_std", "async_tokio", ] [lib] name = "criterion" path = "src/lib.rs" bench = false [[test]] name = "criterion_tests" path = "tests/criterion_tests.rs" [[test]] name = "macros" path = "tests/macros.rs" [[bench]] name = "bench_main" path = "benches/bench_main.rs" harness = false [dependencies.anes] version = "0.2.0" [dependencies.async-std] version = "1.13.0" optional = true [dependencies.bpaf] version = "0.9.15" default-features = false [dependencies.cast] version = "0.3" [dependencies.ciborium] version = "0.2.2" [dependencies.codspeed] version = "2.7.2" optional = true [dependencies.colored] version = "2.1.0" optional = true [dependencies.document-features] version = "0.2.10" optional = true [dependencies.futures] version = "0.3.31" optional = true default-features = false [dependencies.num-traits] version = "0.2.19" features = ["std"] default-features = false [dependencies.oorandom] version = "11.1.4" [dependencies.rayon] version = "1.10" optional = true [dependencies.serde] version = "1.0.213" [dependencies.serde_json] version = "1.0.132" [dependencies.smol] version = "2.0.2" optional = true default-features = false [dependencies.tokio] version = "1.41.0" features = ["rt"] optional = true default-features = false [dependencies.walkdir] version = "2.5" [dev-dependencies.approx] version = "0.5.1" [dev-dependencies.futures] version = "0.3.31" features = ["executor"] default-features = false [dev-dependencies.quickcheck] version = "1.0.3" default-features = false [dev-dependencies.rand] version = "0.8.5" [dev-dependencies.tempfile] version = "3.13.0" [features] async = [] async_futures = [ "async", "futures/executor", ] async_smol = [ "async", "smol", ] async_std = [ "async", "async-std", ] async_tokio = [ "async", "tokio", ] cargo_bench_support = [] codspeed = [ "dep:codspeed", "dep:colored", ] default = [ "cargo_bench_support", "rayon", ] stable = [ "async_futures", "async_smol", "async_std", "async_tokio", ]