Cargo Features

[dependencies]
llvm_stackmap = { version = "0.1.4", default-features = false, features = ["serde", "from-elf"] }
default = from-elf

The from-elf feature is set by default whenever llvm_stackmap is added without default-features = false somewhere in the dependency tree.

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.

goblin from-elf