Debian Codegraph @

third_party/rust/icu_segmenter/Cargo.toml

raw
1 # THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
2 #
3 # When uploading crates to the registry Cargo will automatically
4 # "normalize" Cargo.toml files for maximal compatibility
5 # with all versions of Cargo and also rewrite `path` dependencies
6 # to registry (e.g., crates.io) dependencies.
7 #
8 # If you are reading this file be aware that the original Cargo.toml
9 # will likely look very different (and much more reasonable).
10 # See Cargo.toml.orig for the original contents.
11
12 [package]
13 edition = "2021"
14 rust-version = "1.67"
15 name = "icu_segmenter"
16 version = "1.5.0"
17 authors = ["The ICU4X Project Developers"]
18 include = [
19 "data/**/*",
20 "src/**/*",
21 "examples/**/*",
22 "benches/**/*",
23 "tests/**/*",
24 "Cargo.toml",
25 "LICENSE",
26 "README.md",
27 ]
28 description = "Unicode line breaking and text segmentation algorithms for text boundaries analysis"
29 homepage = "https://icu4x.unicode.org"
30 readme = "README.md"
31 categories = ["internationalization"]
32 license = "Unicode-3.0"
33 repository = "https://github.com/unicode-org/icu4x"
34
35 [package.metadata.docs.rs]
36 all-features = true
37
38 [lib]
39 bench = false
40
41 [[test]]
42 name = "complex_word"
43 required-features = ["auto"]
44
45 [[bench]]
46 name = "bench"
47 harness = false
48
49 [dependencies.core_maths]
50 version = "0.1.0"
51 optional = true
52 default-features = false
53
54 [dependencies.databake]
55 version = "0.1.8"
56 features = ["derive"]
57 optional = true
58 default-features = false
59
60 [dependencies.displaydoc]
61 version = "0.2.3"
62 default-features = false
63
64 [dependencies.icu_collections]
65 version = "~1.5.0"
66 default-features = false
67
68 [dependencies.icu_locid]
69 version = "~1.5.0"
70 default-features = false
71
72 [dependencies.icu_locid_transform]
73 version = "~1.5.0"
74 features = ["compiled_data"]
75 optional = true
76 default-features = false
77
78 [dependencies.icu_provider]
79 version = "~1.5.0"
80 features = ["macros"]
81 default-features = false
82
83 [dependencies.icu_segmenter_data]
84 version = "~1.5.0"
85 optional = true
86 default-features = false
87
88 [dependencies.serde]
89 version = "1.0.110"
90 features = [
91 "derive",
92 "alloc",
93 ]
94 optional = true
95 default-features = false
96
97 [dependencies.utf8_iter]
98 version = "1.0.2"
99 default-features = false
100
101 [dependencies.zerovec]
102 version = "0.10.2"
103 features = ["yoke"]
104 default-features = false
105
106 [dev-dependencies.itertools]
107 version = "0.10.3"
108
109 [dev-dependencies.serde]
110 version = "1.0.110"
111 features = ["derive"]
112 default-features = false
113
114 [dev-dependencies.serde_json]
115 version = "1.0.45"
116
117 [features]
118 auto = ["lstm"]
119 bench = []
120 compiled_data = ["dep:icu_segmenter_data"]
121 datagen = [
122 "serde",
123 "dep:databake",
124 "zerovec/databake",
125 "icu_collections/databake",
126 ]
127 default = [
128 "compiled_data",
129 "auto",
130 ]
131 lstm = ["dep:core_maths"]
132 serde = [
133 "dep:serde",
134 "zerovec/serde",
135 "icu_collections/serde",
136 "icu_provider/serde",
137 ]
138 std = [
139 "icu_collections/std",
140 "icu_locid/std",
141 "icu_provider/std",
142 ]
143
144 [target."cfg(not(target_arch = \"wasm32\"))".dev-dependencies.criterion]
145 version = "0.5.0"