Cargo Features
[dependencies]
iai-callgrind = { version = "0.16.1", default-features = false, features = ["benchmark", "cachegrind", "client_requests", "client_requests_defs", "ui_tests", "iai-callgrind-runner"] }
- default = benchmark
-
The
benchmarkfeature is set by default wheneveriai-callgrindis added withoutsomewhere in the dependency tree.default-features = false - benchmark default = iai-callgrind-runner
-
Enables bincode ^1, derive_more, and iai-callgrind-macros
derive_more:
We use the
derive_morecrate anyway iniai-callgrind-macros, so there's no harm in using it for this small AsRef derive macro - cachegrind = client_requests
-
Enables cachegrind of iai-callgrind-macros
- client_requests cachegrind? = client_requests_defs
- client_requests_defs client_requests?
-
Enables bindgen, cc, cfg-if, cty, regex, strum, and version-compare
Affects
iai-callgrind::client_requests… - ui_tests
- iai-callgrind-runner benchmark
-
Looks like a bug to have to create a feature instead of
dep:iai-callgrind-runnerin the benchmark feature directlyEnables iai-callgrind-runner