# 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" rust-version = "1.80" name = "criterion" version = "0.7.0" authors = [ "Jorge Aparicio ", "Brook Heisler ", ] build = false exclude = ["book/*"] autolib = false 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 = [ "criterion", "benchmark", ] categories = ["development-tools::profiling"] license = "Apache-2.0 OR MIT" repository = "https://github.com/bheisler/criterion.rs" [package.metadata.docs.rs] features = [ "async_futures", "async_smol", "async_std", "async_tokio", ] [badges.maintenance] status = "passively-maintained" [features] async = [] async_futures = [ "dep:futures", "async", ] async_smol = [ "dep:smol", "async", ] async_std = [ "dep:async-std", "async", ] async_tokio = [ "dep:tokio", "async", ] cargo_bench_support = [] csv_output = ["dep:csv"] default = [ "rayon", "plotters", "cargo_bench_support", ] html_reports = [] plotters = ["dep:plotters"] rayon = ["dep:rayon"] real_blackbox = [] stable = [ "csv_output", "html_reports", "async_futures", "async_smol", "async_tokio", "async_std", ] [lib] name = "criterion" path = "src/lib.rs" bench = false [[test]] name = "criterion_tests" path = "tests/criterion_tests.rs" [[bench]] name = "bench_main" path = "benches/bench_main.rs" harness = false [dependencies.anes] version = "0.1.4" [dependencies.async-std] version = "1.13" optional = true [dependencies.cast] version = "0.3" [dependencies.ciborium] version = "0.2.0" [dependencies.clap] version = "4.5" features = [ "std", "help", ] default-features = false [dependencies.criterion-plot] version = "0.6.0" [dependencies.csv] version = "1.1" optional = true [dependencies.futures] version = "0.3" features = ["executor"] optional = true default-features = false [dependencies.itertools] version = "0.13" [dependencies.num-traits] version = "0.2" features = ["std"] default-features = false [dependencies.oorandom] version = "11.1" [dependencies.plotters] version = "^0.3.2" features = [ "svg_backend", "area_series", "line_series", ] optional = true default-features = false [dependencies.rayon] version = "1.3" optional = true [dependencies.regex] version = "1.5.1" features = ["std"] default-features = false [dependencies.serde] version = "1.0.100" features = ["derive"] [dependencies.serde_json] version = "1.0.100" [dependencies.smol] version = "2.0" optional = true default-features = false [dependencies.tinytemplate] version = "1.1" [dependencies.tokio] version = "1.0" features = ["rt"] optional = true default-features = false [dependencies.walkdir] version = "2.3" [dev-dependencies.approx] version = "0.5.0" [dev-dependencies.futures] version = "0.3" [dev-dependencies.quickcheck] version = "1.0" default-features = false [dev-dependencies.rand] version = "0.8" [dev-dependencies.tempfile] version = "3.5.0"