Cargo Features
[dependencies]
iai-callgrind = { version = "0.14.0", default-features = false, features = ["benchmark", "client_requests", "client_requests_defs", "ui_tests", "iai-callgrind-runner"] }
- default = benchmark
-
The
benchmark
feature is set by default wheneveriai-callgrind
is added without
somewhere in the dependency tree.default-features = false Affects
iai-callgrind::error
,iai-callgrind::internal
… - benchmark default = iai-callgrind-runner
-
Enables bincode, derive_more, and iai-callgrind-macros
derive_more:
We use the
derive_more
crate anyway iniai-callgrind-macros
, so there's no harm in using it for this small AsRef derive macro - client_requests = 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-runner
in the benchmark feature directlyEnables iai-callgrind-runner