Cargo Features
[dependencies]
hitori = { version = "0.2.3", default-features = false, features = ["alloc", "macros", "find-hitori"] }
- default = alloc, macros
-
These default features are set whenever
hitori
is added without
somewhere in the dependency tree.default-features = false - alloc default
-
string replace functions and blanket implementations of hitori traits for boxes using alloc crate.
Affects
string::replace
,string::replacen
… - macros default = hitori-macros
-
impl_expr_mut
andimpl_expr
macros. - find-hitori
-
finds hitori package to be used in macros even if it has been renamed in Cargo.toml.
macros
is required.Enables find-hitori of optional hitori-macros
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.