Cargo Features

[dependencies]
natural-sort-rs = { version = "0.1.1", default-features = false, features = ["alloc"] }
default = alloc

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

alloc default

Affects natural-sort-rs::NaturalSort.natural_sort, natural-sort-rs::NaturalSort.natural_sort_by_key, natural-sort-rs::NaturalSort.natural_sort_by_cached_key