Cargo Features

[dependencies]
myutil = { version = "3.0.1", default-features = false, features = ["full", "ansi", "compact", "uau", "cmd", "ssh"] }
default = ansi

The ansi feature is set by default whenever myutil is added without default-features = false somewhere in the dependency tree.

full = cmd, ssh, uau
ansi default
compact
uau full? = nix, rand

Affects myutil::uau

cmd full?

Affects myutil::cmd

ssh full? = ssh2

Affects myutil::ssh

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.

nix not wasm32 uau?

Enables nix ^0.26

rand not wasm32 uau?
ssh2 not wasm32 ssh?

Enables ssh2-patched