Cargo Features

[dependencies]
xd = { version = "0.0.4", default-features = false, features = ["std", "alloc", "bin", "strict", "bench"] }
default = bin, std

cargo install

std default = alloc
alloc bench? std
bin default = atty, clap, jane-eyre, lazy_static, nix, pledge, unveil, winapi-util
strict
bench = alloc

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.

pledge bin
unveil bin

Enables unveil ^0.2.1

jane-eyre bin
lazy_static bin
atty bin
clap bin

Enables clap ^2.33.3

nix unix bin

Enables nix ^0.19.1

winapi-util win bin