Cargo Features

Hyphenation has no features set by default.

[dependencies]
hyphenation = { version = "0.8.4", features = ["embed_en-us", "build_dictionaries", "nfc", "nfkd"] }
embed_all embed_en-us = pocket-resources

Affects load::Load.from_embedded

build_dictionaries
nfc = unicode-normalization

Unicode normalization.

HEED: these features are mutually exclusive; only one may be passed to rustc/cargo as an argument. build.rs ensures that these multiple "features" effectively behave as a single, configurable parameter: were the user to select more than one normalization form, the build will fail.

nfd nfkc nfkd = unicode-normalization

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](https://rust-lang.github.io/rfcs/3491-remove-implicit-features.html).

pocket-resources build embed_all? embed_en-us?
unicode-normalization build nfc? nfd? nfkc? nfkd?