Cargo Features
[dependencies]
zydis = { version = "4.1.1", default-features = false, features = ["std", "alloc", "full-decoder", "formatter", "encoder", "serialization", "nolibc"] }
- default = formatter, full-decoder, std
-
These default features are set whenever
zydis
is added without
somewhere in the dependency tree.default-features = false - std default = alloc
- alloc encoder? formatter std
- full-decoder default encoder? formatter
-
Affects
decoder::FullInstruction
,decoder::VisibleOperands
,decoder::AllOperands
,decoder::OperandArrayVec
… - formatter default = alloc, full-decoder
- encoder = alloc, full-decoder
- serialization = serde
- nolibc
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.