Cargo Features
[dependencies]
xi-trace = { version = "0.2.0", default-features = false, features = ["benchmarks", "json_payload", "getpid", "chrome_trace_event", "ipc"] }
- default = chrome_trace_event
-
The
chrome_trace_event
feature is set by default wheneverxi-trace
is added without
somewhere in the dependency tree.default-features = false - benchmarks
- json_payload = serde_json
-
Affects
xi-trace::TracePayloadT
… - getpid
- chrome_trace_event default = serde_json
-
Affects
xi-trace::chrome_trace_dump
… - ipc = bincode
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.