Cargo Features
[dependencies]
codspeed-criterion-compat = { version = "2.9.1", default-features = false, features = ["async", "async_futures", "async_smol", "async_tokio", "async_std", "html_reports", "cargo_bench_support", "csv_output", "rayon", "plotters"] }
- default = cargo_bench_support, plotters, rayon
-
These default features are set whenever
codspeed-criterion-compat
is added without
somewhere in the dependency tree.default-features = false - async async_futures? async_smol? async_std? async_tokio? = futures
-
Criterion.rs features
Enables async of codspeed-criterion-compat-walltime
Affects
bencher::AsyncBencher
… - async_futures = async
-
Enables executor of futures and async_futures of codspeed-criterion-compat-walltime
codspeed-criterion-compat-walltime:
These features enable built-in support for running async benchmarks on each different async runtime.
- async_smol = async, smol
-
Enables async_smol of codspeed-criterion-compat-walltime
- async_tokio = async, tokio
-
Enables async_tokio of codspeed-criterion-compat-walltime
- async_std = async, async-std
-
Enables async_std of codspeed-criterion-compat-walltime
- html_reports
-
Enables html_reports of codspeed-criterion-compat-walltime
codspeed-criterion-compat-walltime:
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)
- cargo_bench_support default
-
Enables cargo_bench_support of codspeed-criterion-compat-walltime
codspeed-criterion-compat-walltime:
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.
- csv_output
-
Enables csv_output of codspeed-criterion-compat-walltime
codspeed-criterion-compat-walltime:
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.
- rayon default
-
Enables rayon of codspeed-criterion-compat-walltime
- plotters default
-
Enables plotters of codspeed-criterion-compat-walltime
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.