Cargo Features

[dependencies]
pex = { version = "0.2.4", default-features = false, features = ["alloc", "regex"] }
default = alloc

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

alloc default

Features from optional dependencies

regex implicit feature