Cargo Features
[dependencies]
natural-sort-rs = { version = "0.1.1", default-features = false, features = ["alloc"] }
- default = alloc
-
The
alloc
feature is set by default whenevernatural-sort-rs
is added without
somewhere in the dependency tree.default-features = false - 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
…