Cargo Features

[dependencies]
pretty-hex = { version = "0.4.1", default-features = false, features = ["alloc"] }
default = alloc

The alloc feature is set by default whenever pretty-hex is added without default-features = false somewhere in the dependency tree.

alloc default

Affects pretty_hex::simple_hex, pretty_hex::pretty_hex, pretty_hex::config_hex