<commit_before>[package]
name = "hyphenation"
version = "0.5.0"

authors = ["ndr <<EMAIL>>"]
license = "Apache-2.0/MIT"
repository = "https://github.com/ndr-qef/hyphenation"
homepage = "https://github.com/ndr-qef/hyphenation"
documentation = "https://docs.rs/hyphenation"

readme = "README.md"
description = "Standard Knuth-Liang hyphenation based on the TeX UTF-8 patterns."
keywords = ["text", "typesetting"]


include = ["**/*.rs", "**/Cargo.toml", "patterns-tex", "**/*.md", "LICENSE*"]
build = "build.rs"


[features]

# Normalization forms.
#
# HEED: these features are mutually exclusive; only one may be passed to rustc/cargo as an argument. This restriction may be lifted in the future, should `hyphenation` benefit from operating on multiple forms at runtime.
#
# `build.rs` ensures – in rather haphazard fashion – that these multiple "features" effectively behave as a single parameter, i.e. as a closed set. Were the user to select more than one normalization form, the build will fail – alas, with an uninformative error message.

nfc = []
nfd = []
nfkc = []
nfkd = []
none = []

# The default is manually implemented by `build.rs`, since other features cannot disable it.
# default = ["nfc"]


[dependencies]
klpattern = { path = "klpattern", version = "0.6.0" }
bincode = "0.6"
fnv = "1.0"
unicode-segmentation = "0.1"

[build-dependencies]
klpattern = { path = "klpattern", version = "0.6.0" }
bincode = "0.6"
pocket-resources = "0.3"
serde = "0.8"
unicode-normalization = "0.1"

[dev-dependencies]
lazy_static = "0.2"
quickcheck = "0.3"<commit_msg>Cargo: add workspace for `klpattern`<commit_after>[package]
name = "hyphenation"
version = "0.5.0"

authors = ["ndr <<EMAIL>>"]
license = "Apache-2.0/MIT"
repository = "https://github.com/ndr-qef/hyphenation"
homepage = "https://github.com/ndr-qef/hyphenation"
documentation = "https://docs.rs/hyphenation"

readme = "README.md"
description = "Standard Knuth-Liang hyphenation based on the TeX UTF-8 patterns."
keywords = ["text", "typesetting"]


include = ["**/*.rs", "**/Cargo.toml", "patterns-tex", "**/*.md", "LICENSE*"]
build = "build.rs"


[features]

# Normalization forms.
#
# HEED: these features are mutually exclusive; only one may be passed to rustc/cargo as an argument. This restriction may be lifted in the future, should `hyphenation` benefit from operating on multiple forms at runtime.
#
# `build.rs` ensures – in rather haphazard fashion – that these multiple "features" effectively behave as a single parameter, i.e. as a closed set. Were the user to select more than one normalization form, the build will fail – alas, with an uninformative error message.

nfc = []
nfd = []
nfkc = []
nfkd = []
none = []

# The default is manually implemented by `build.rs`, since other features cannot disable it.
# default = ["nfc"]


[workspace]
members = ["klpattern"]

[dependencies]
klpattern = { path = "klpattern", version = "0.6.0" }
bincode = "0.6"
fnv = "1.0"
unicode-segmentation = "0.1"

[build-dependencies]
klpattern = { path = "klpattern", version = "0.6.0" }
bincode = "0.6"
pocket-resources = "0.3"
serde = "0.8"
unicode-normalization = "0.1"

[dev-dependencies]
lazy_static = "0.2"
quickcheck = "0.3"
{'fraction_non_alphanumeric': 0.1536050156739812, 'fraction_numerical': 0.018808777429467086, 'mean_word_length': 4.3361204013377925, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6215659', 'n_tokens_mistral': 1127, 'n_tokens_neox': 1086, 'n_words': 350}