Cargo Features

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

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

std default = alloc

Affects yaxpeax-arch::DecodeErrorBounds

alloc default std
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 = crossterm

feature flag for the existing but misfeature'd initial support for output coloring. the module this gates will be removed in 0.4.0, which includes removing trait Colorize, and requires a major version bump for any dependency that moves forward.

Affects color::Colored

color-new default

feature flag for revised output colorizing support, which will replace the existing colors feature in 0.4.0.

Affects yaxpeax-arch::color_new

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. These features may have been created by mistake, and this functionality may be removed in the future.

crossterm colors?
serde use-serde
serde_derive use-serde