Cargo Features
[dependencies]
yaxpeax-x86 = { version = "1.2.2", default-features = false, features = ["std", "fmt", "use-serde", "colors", "capstone_bench", "serde_json"] }
- default = colors, fmt, std, use-serde
-
These default features are set whenever
yaxpeax-x86
is added without
somewhere in the dependency tree.default-features = false - std default
-
opt-in for some apis that are really much nicer with String
Enables std of yaxpeax-arch
- fmt default
-
feature for formatting instructions and their components
- use-serde default = serde, serde_derive
-
Enables use-serde of yaxpeax-arch
yaxpeax-arch:
enables the (optional) use of Serde for bounds on
Arch and Arch::Address - colors default
-
Enables colors of yaxpeax-arch
- capstone_bench
-
This enables some capstone benchmarks over the same instruction bytes used to bench this code.
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.
- serde use-serde
- serde_json implicit feature
-
Enables serde_json
serde_json:
A JSON serialization file format
- serde_derive use-serde