Cargo Features

spandex-hyphenation has no features set by default.

[dependencies]
spandex-hyphenation = { version = "0.7.4", features = ["embed_all", "build_dictionaries", "nfc", "nfkd"] }
embed_all = 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.

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