Cargo Features
[dependencies]
sanitise-file-name = { version = "1.0.0", default-features = false, features = ["std", "alloc", "const-fn-trait-bound", "tinyvec_string"] }
- default = std
-
The
std
feature is set by default wheneversanitise-file-name
is added without
somewhere in the dependency tree.default-features = false - std default = alloc
- alloc std
-
Affects
sanitise-file-name::sanitise
,sanitise-file-name::sanitise_with_options
… - const-fn-trait-bound
-
Affects
sanitise-file-name::max_alloc_size
…
Features from optional dependencies
- tinyvec_string implicit feature
-
Enables tinyvec_string
Only the tests depend on rustc_1_55.