Cargo Features
[dependencies]
usdt-impl = { version = "0.5.0", default-features = false, features = ["asm", "des"] }
- default = asm
-
The
asm
feature is set by default wheneverusdt-impl
is added without
somewhere in the dependency tree.default-features = false - asm default
- des = dof
-
The
des
feature enablesdof
and company to be able to deserialize special sections emitted in the binary which describe the probes. Except on platforms with linker integration for USDT probes (currently only MacOS), that data is required in order to register the probes with the kernel.Affects
usdt-impl::record
…
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.