Cargo Features
[dependencies]
llvm_stackmap = { version = "0.1.5", default-features = false, features = ["serde", "from-elf"] }
- default = from-elf
-
The
from-elf
feature is set by default wheneverllvm_stackmap
is added without
somewhere in the dependency tree.default-features = false - serde
-
Drive Serialize and Deserialize for all structures to support serde.
Enables serde
- from-elf default = goblin
-
Add support to create stackmap directly from an ELF file.
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.