Cargo Features
[dependencies]
perf-event = { version = "0.4.8", default-features = false, features = ["hooks"] }
- hooks default
-
Enable syscall interception hooks for mock testing and logging.
Affects
perf-event::hooks
… - default = hooks
-
The
hooks
feature is set by default wheneverperf-event
is added without
somewhere in the dependency tree.default-features = false