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 default-features = false somewhere in the dependency tree.

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 and impl_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.

hitori-macros macros