Cargo Features

[dependencies]
yaxpeax-arch = { version = "0.2.7", default-features = false, features = ["std", "use-serde", "colors", "address-parse"] }
default = address-parse, colors, std, use-serde

These default features are set whenever yaxpeax-arch is added without default-features = false somewhere in the dependency tree.

std default

Affects annotation::VecSink, yaxpeax-arch::DecodeErrorBounds

use-serde default = serde, serde_derive

enables the (optional) use of Serde for bounds on
Arch and Arch::Address

Affects address::AddressDiffAmount, address::AddressDiff, address::Address, yaxpeax-arch::AddressBounds, address::Address

colors default = crossterm

Affects color::Colored

address-parse default

Affects address::Address, address::AddrParse, address::Address

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

crossterm colors

Enables crossterm ^0.19.0

serde use-serde
serde_derive use-serde