-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathCargo.toml
73 lines (60 loc) · 1.76 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
[package]
name = "hyphenation"
version = "0.8.5-alpha.0"
edition = "2018"
authors = ["Andrew <[email protected]>"]
license = "Apache-2.0/MIT"
repository = "https://github.com/tapeinosyne/hyphenation"
homepage = "https://github.com/tapeinosyne/hyphenation"
documentation = "https://docs.rs/hyphenation"
readme = "README.md"
description = "Knuth-Liang hyphenation for a variety of languages"
keywords = ["text", "typesetting"]
include = [
"**/*.rs",
"**/Cargo.toml",
"dictionaries/*",
"patterns/*",
"README.md",
"CHANGELOG.md",
"LICENSE*",
]
build = "build.rs"
[features]
embed_all = ["pocket-resources"]
embed_en-us = ["pocket-resources"]
build_dictionaries = []
# 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.
nfc = ["unicode-normalization"]
nfd = ["unicode-normalization"]
nfkc = ["unicode-normalization"]
nfkd = ["unicode-normalization"]
[package.metadata.docs.rs]
features = ["embed_en-us"]
[workspace]
members = ["hyphenation_commons"]
[dependencies]
hyphenation_commons = { path = "hyphenation_commons", version = "0.8.4" }
fst = "0.4.6"
bincode = "1.3.3"
serde = "1.0.126"
[build-dependencies]
hyphenation_commons = { path = "hyphenation_commons", version = "0.8.4" }
fst = "0.4.6"
bincode = "1.3.3"
serde = "1.0.126"
pocket-resources = { version = "0.3.2", optional = true }
unicode-normalization = { version = "0.1.19", optional = true }
[dev-dependencies]
once_cell = "1.7.2"
quickcheck = "1.0.3"
unicode-segmentation = "1.7.1"
criterion = "0.3.4"
[[bench]]
name = "hyphenate"
harness = false