uccharan 0.2.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- uccharan-0.2.0/Cargo.lock +581 -0
- uccharan-0.2.0/Cargo.toml +24 -0
- uccharan-0.2.0/LICENSE +201 -0
- uccharan-0.2.0/NOTICE +156 -0
- uccharan-0.2.0/PKG-INFO +77 -0
- uccharan-0.2.0/README.md +52 -0
- uccharan-0.2.0/bindings/python/Cargo.toml +22 -0
- uccharan-0.2.0/bindings/python/DATA_LICENSES.md +135 -0
- uccharan-0.2.0/bindings/python/LICENSE +201 -0
- uccharan-0.2.0/bindings/python/NOTICE +156 -0
- uccharan-0.2.0/bindings/python/README.md +52 -0
- uccharan-0.2.0/bindings/python/src/lib.rs +404 -0
- uccharan-0.2.0/bindings/python/tests/conftest.py +8 -0
- uccharan-0.2.0/bindings/python/tests/test_api.py +131 -0
- uccharan-0.2.0/bindings/python/tests/test_languages.py +11 -0
- uccharan-0.2.0/bindings/python/tests/test_textnorm.py +88 -0
- uccharan-0.2.0/crates/uccharan/Cargo.toml +35 -0
- uccharan-0.2.0/crates/uccharan/DATA_LICENSES.md +135 -0
- uccharan-0.2.0/crates/uccharan/LICENSE +201 -0
- uccharan-0.2.0/crates/uccharan/NOTICE +156 -0
- uccharan-0.2.0/crates/uccharan/README.md +38 -0
- uccharan-0.2.0/crates/uccharan/benches/throughput.rs +146 -0
- uccharan-0.2.0/crates/uccharan/data/en-gb.ucd +0 -0
- uccharan-0.2.0/crates/uccharan/data/en-us.ucd +0 -0
- uccharan-0.2.0/crates/uccharan/data/hi.ucd +0 -0
- uccharan-0.2.0/crates/uccharan/data/kokoro-en-gb.ucd +0 -0
- uccharan-0.2.0/crates/uccharan/data/kokoro-en-us.ucd +0 -0
- uccharan-0.2.0/crates/uccharan/data/sd.ucd +0 -0
- uccharan-0.2.0/crates/uccharan/data/ur.ucd +0 -0
- uccharan-0.2.0/crates/uccharan/lang/as.lang +311 -0
- uccharan-0.2.0/crates/uccharan/lang/bn.lang +319 -0
- uccharan-0.2.0/crates/uccharan/lang/gu.lang +219 -0
- uccharan-0.2.0/crates/uccharan/lang/kn.lang +164 -0
- uccharan-0.2.0/crates/uccharan/lang/kok.lang +559 -0
- uccharan-0.2.0/crates/uccharan/lang/ml.lang +185 -0
- uccharan-0.2.0/crates/uccharan/lang/mr.lang +266 -0
- uccharan-0.2.0/crates/uccharan/lang/ne.lang +246 -0
- uccharan-0.2.0/crates/uccharan/lang/or.lang +486 -0
- uccharan-0.2.0/crates/uccharan/lang/pa.lang +520 -0
- uccharan-0.2.0/crates/uccharan/lang/sa.lang +222 -0
- uccharan-0.2.0/crates/uccharan/lang/sd.lang +444 -0
- uccharan-0.2.0/crates/uccharan/lang/si.lang +342 -0
- uccharan-0.2.0/crates/uccharan/lang/ta.lang +232 -0
- uccharan-0.2.0/crates/uccharan/lang/te.lang +172 -0
- uccharan-0.2.0/crates/uccharan/lang/ur.lang +408 -0
- uccharan-0.2.0/crates/uccharan/src/african.rs +726 -0
- uccharan-0.2.0/crates/uccharan/src/bho.rs +637 -0
- uccharan-0.2.0/crates/uccharan/src/bin/uccharan.rs +223 -0
- uccharan-0.2.0/crates/uccharan/src/data.rs +607 -0
- uccharan-0.2.0/crates/uccharan/src/en/arabic_names.txt +1508 -0
- uccharan-0.2.0/crates/uccharan/src/en/fw.rs +241 -0
- uccharan-0.2.0/crates/uccharan/src/en/horn_names.txt +3828 -0
- uccharan-0.2.0/crates/uccharan/src/en/improve.rs +663 -0
- uccharan-0.2.0/crates/uccharan/src/en/mod.rs +862 -0
- uccharan-0.2.0/crates/uccharan/src/gnorm.rs +123 -0
- uccharan-0.2.0/crates/uccharan/src/hi/mod.rs +1175 -0
- uccharan-0.2.0/crates/uccharan/src/hi/roman.rs +218 -0
- uccharan-0.2.0/crates/uccharan/src/indic.rs +1207 -0
- uccharan-0.2.0/crates/uccharan/src/ipa.rs +175 -0
- uccharan-0.2.0/crates/uccharan/src/kaithi.rs +58 -0
- uccharan-0.2.0/crates/uccharan/src/known.rs +189 -0
- uccharan-0.2.0/crates/uccharan/src/kokoro.rs +2506 -0
- uccharan-0.2.0/crates/uccharan/src/langdef.rs +335 -0
- uccharan-0.2.0/crates/uccharan/src/lex2.rs +717 -0
- uccharan-0.2.0/crates/uccharan/src/lib.rs +876 -0
- uccharan-0.2.0/crates/uccharan/src/minijson.rs +253 -0
- uccharan-0.2.0/crates/uccharan/src/names.rs +181 -0
- uccharan-0.2.0/crates/uccharan/src/norm.rs +1504 -0
- uccharan-0.2.0/crates/uccharan/src/normalize_api.rs +1576 -0
- uccharan-0.2.0/crates/uccharan/src/profile.rs +661 -0
- uccharan-0.2.0/crates/uccharan/src/respell.rs +990 -0
- uccharan-0.2.0/crates/uccharan/src/rules.rs +531 -0
- uccharan-0.2.0/crates/uccharan/src/text.rs +439 -0
- uccharan-0.2.0/crates/uccharan/src/wiki.rs +170 -0
- uccharan-0.2.0/crates/uccharan/src/wordlist.rs +1285 -0
- uccharan-0.2.0/crates/uccharan/tests/indic_languages.rs +258 -0
- uccharan-0.2.0/crates/uccharan/tests/integration.rs +279 -0
- uccharan-0.2.0/crates/uccharan/tests/normalize_api.rs +592 -0
- uccharan-0.2.0/crates/uccharan/tests/wikipron_pack.rs +41 -0
- uccharan-0.2.0/pyproject.toml +43 -0
- uccharan-0.2.0/python/uccharan/__init__.py +287 -0
- uccharan-0.2.0/python/uccharan/__main__.py +3 -0
- uccharan-0.2.0/python/uccharan/_native.pyi +27 -0
- uccharan-0.2.0/python/uccharan/cli.py +59 -0
- uccharan-0.2.0/python/uccharan/compat.py +117 -0
- uccharan-0.2.0/python/uccharan/packs.py +111 -0
- uccharan-0.2.0/python/uccharan/py.typed +0 -0
- uccharan-0.2.0/python/uccharan/textnorm.py +232 -0
|
@@ -0,0 +1,581 @@
|
|
|
1
|
+
# This file is automatically @generated by Cargo.
|
|
2
|
+
# It is not intended for manual editing.
|
|
3
|
+
version = 3
|
|
4
|
+
|
|
5
|
+
[[package]]
|
|
6
|
+
name = "aho-corasick"
|
|
7
|
+
version = "1.1.5"
|
|
8
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
9
|
+
checksum = "c982642fa9e8606056828ee9a8505737230110bb1099153c79efe865c59d12ba"
|
|
10
|
+
dependencies = [
|
|
11
|
+
"memchr",
|
|
12
|
+
]
|
|
13
|
+
|
|
14
|
+
[[package]]
|
|
15
|
+
name = "anes"
|
|
16
|
+
version = "0.1.6"
|
|
17
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
18
|
+
checksum = "4b46cbb362ab8752921c97e041f5e366ee6297bd428a31275b9fcf1e380f7299"
|
|
19
|
+
|
|
20
|
+
[[package]]
|
|
21
|
+
name = "anstyle"
|
|
22
|
+
version = "1.0.14"
|
|
23
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
24
|
+
checksum = "940b3a0ca603d1eade50a4846a2afffd5ef57a9feac2c0e2ec2e14f9ead76000"
|
|
25
|
+
|
|
26
|
+
[[package]]
|
|
27
|
+
name = "autocfg"
|
|
28
|
+
version = "1.5.1"
|
|
29
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
30
|
+
checksum = "f2032f911046de80f0a198e0901378627c33f59ea0ac00e363d481118bd70a53"
|
|
31
|
+
|
|
32
|
+
[[package]]
|
|
33
|
+
name = "bumpalo"
|
|
34
|
+
version = "3.20.3"
|
|
35
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
36
|
+
checksum = "72f5acc6cb2ba439de613abc23857ec3d78374d8ed5ac84e9d11336e87da8649"
|
|
37
|
+
|
|
38
|
+
[[package]]
|
|
39
|
+
name = "cast"
|
|
40
|
+
version = "0.3.0"
|
|
41
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
42
|
+
checksum = "37b2a672a2cb129a2e41c10b1224bb368f9f37a2b16b612598138befd7b37eb5"
|
|
43
|
+
|
|
44
|
+
[[package]]
|
|
45
|
+
name = "cfg-if"
|
|
46
|
+
version = "1.0.5"
|
|
47
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
48
|
+
checksum = "4e7648175b45a9a48536d676f68d918270699102aa8dab5496df06904c914600"
|
|
49
|
+
|
|
50
|
+
[[package]]
|
|
51
|
+
name = "ciborium"
|
|
52
|
+
version = "0.2.2"
|
|
53
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
54
|
+
checksum = "42e69ffd6f0917f5c029256a24d0161db17cea3997d185db0d35926308770f0e"
|
|
55
|
+
dependencies = [
|
|
56
|
+
"ciborium-io",
|
|
57
|
+
"ciborium-ll",
|
|
58
|
+
"serde",
|
|
59
|
+
]
|
|
60
|
+
|
|
61
|
+
[[package]]
|
|
62
|
+
name = "ciborium-io"
|
|
63
|
+
version = "0.2.2"
|
|
64
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
65
|
+
checksum = "05afea1e0a06c9be33d539b876f1ce3692f4afea2cb41f740e7743225ed1c757"
|
|
66
|
+
|
|
67
|
+
[[package]]
|
|
68
|
+
name = "ciborium-ll"
|
|
69
|
+
version = "0.2.2"
|
|
70
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
71
|
+
checksum = "57663b653d948a338bfb3eeba9bb2fd5fcfaecb9e199e87e1eda4d9e8b240fd9"
|
|
72
|
+
dependencies = [
|
|
73
|
+
"ciborium-io",
|
|
74
|
+
"half",
|
|
75
|
+
]
|
|
76
|
+
|
|
77
|
+
[[package]]
|
|
78
|
+
name = "clap"
|
|
79
|
+
version = "4.6.7"
|
|
80
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
81
|
+
checksum = "aa8876b300ab35ba921adea3dfd70157a46249b33f95c9084ae5709785478946"
|
|
82
|
+
dependencies = [
|
|
83
|
+
"clap_builder",
|
|
84
|
+
]
|
|
85
|
+
|
|
86
|
+
[[package]]
|
|
87
|
+
name = "clap_builder"
|
|
88
|
+
version = "4.6.7"
|
|
89
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
90
|
+
checksum = "ec0797fb7aeb1406c84efac526901f7ec3ead2124f946b494e72879d4b54704d"
|
|
91
|
+
dependencies = [
|
|
92
|
+
"anstyle",
|
|
93
|
+
"clap_lex",
|
|
94
|
+
]
|
|
95
|
+
|
|
96
|
+
[[package]]
|
|
97
|
+
name = "clap_lex"
|
|
98
|
+
version = "1.1.1"
|
|
99
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
100
|
+
checksum = "1c133bc6a41be0d194c306b5506d15e6feeea7b1d6604bd3f8310dfb2ca96486"
|
|
101
|
+
|
|
102
|
+
[[package]]
|
|
103
|
+
name = "criterion"
|
|
104
|
+
version = "0.5.1"
|
|
105
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
106
|
+
checksum = "f2b12d017a929603d80db1831cd3a24082f8137ce19c69e6447f54f5fc8d692f"
|
|
107
|
+
dependencies = [
|
|
108
|
+
"anes",
|
|
109
|
+
"cast",
|
|
110
|
+
"ciborium",
|
|
111
|
+
"clap",
|
|
112
|
+
"criterion-plot",
|
|
113
|
+
"is-terminal",
|
|
114
|
+
"itertools",
|
|
115
|
+
"num-traits",
|
|
116
|
+
"once_cell",
|
|
117
|
+
"oorandom",
|
|
118
|
+
"regex",
|
|
119
|
+
"serde",
|
|
120
|
+
"serde_derive",
|
|
121
|
+
"serde_json",
|
|
122
|
+
"tinytemplate",
|
|
123
|
+
"walkdir",
|
|
124
|
+
]
|
|
125
|
+
|
|
126
|
+
[[package]]
|
|
127
|
+
name = "criterion-plot"
|
|
128
|
+
version = "0.5.0"
|
|
129
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
130
|
+
checksum = "6b50826342786a51a89e2da3a28f1c32b06e387201bc2d19791f622c673706b1"
|
|
131
|
+
dependencies = [
|
|
132
|
+
"cast",
|
|
133
|
+
"itertools",
|
|
134
|
+
]
|
|
135
|
+
|
|
136
|
+
[[package]]
|
|
137
|
+
name = "crunchy"
|
|
138
|
+
version = "0.2.4"
|
|
139
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
140
|
+
checksum = "460fbee9c2c2f33933d720630a6a0bac33ba7053db5344fac858d4b8952d77d5"
|
|
141
|
+
|
|
142
|
+
[[package]]
|
|
143
|
+
name = "either"
|
|
144
|
+
version = "1.19.0"
|
|
145
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
146
|
+
checksum = "0e9c71c2167ca323c882b99918929403426e2373ea17242ff5653e0d5e1058be"
|
|
147
|
+
|
|
148
|
+
[[package]]
|
|
149
|
+
name = "half"
|
|
150
|
+
version = "2.7.1"
|
|
151
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
152
|
+
checksum = "6ea2d84b969582b4b1864a92dc5d27cd2b77b622a8d79306834f1be5ba20d84b"
|
|
153
|
+
dependencies = [
|
|
154
|
+
"cfg-if",
|
|
155
|
+
"crunchy",
|
|
156
|
+
"zerocopy",
|
|
157
|
+
]
|
|
158
|
+
|
|
159
|
+
[[package]]
|
|
160
|
+
name = "heck"
|
|
161
|
+
version = "0.5.0"
|
|
162
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
163
|
+
checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
|
|
164
|
+
|
|
165
|
+
[[package]]
|
|
166
|
+
name = "hermit-abi"
|
|
167
|
+
version = "0.5.3"
|
|
168
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
169
|
+
checksum = "e17592d60ebacc7d5e169f4663c5f84f9161cc90328abcfe8456f41e4dfcb284"
|
|
170
|
+
|
|
171
|
+
[[package]]
|
|
172
|
+
name = "is-terminal"
|
|
173
|
+
version = "0.4.17"
|
|
174
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
175
|
+
checksum = "3640c1c38b8e4e43584d8df18be5fc6b0aa314ce6ebf51b53313d4306cca8e46"
|
|
176
|
+
dependencies = [
|
|
177
|
+
"hermit-abi",
|
|
178
|
+
"libc",
|
|
179
|
+
"windows-sys",
|
|
180
|
+
]
|
|
181
|
+
|
|
182
|
+
[[package]]
|
|
183
|
+
name = "itertools"
|
|
184
|
+
version = "0.10.5"
|
|
185
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
186
|
+
checksum = "b0fd2260e829bddf4cb6ea802289de2f86d6a7a690192fbe91b3f46e0f2c8473"
|
|
187
|
+
dependencies = [
|
|
188
|
+
"either",
|
|
189
|
+
]
|
|
190
|
+
|
|
191
|
+
[[package]]
|
|
192
|
+
name = "itoa"
|
|
193
|
+
version = "1.0.19"
|
|
194
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
195
|
+
checksum = "3bd1574e617a9a6c1f8f8181bd7e841e1f20e4277607ef28945765188d6284d4"
|
|
196
|
+
|
|
197
|
+
[[package]]
|
|
198
|
+
name = "libc"
|
|
199
|
+
version = "0.2.191"
|
|
200
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
201
|
+
checksum = "65cd87c9a6d60536580b316ad985726104730a5151c99845f2490428ef91240a"
|
|
202
|
+
|
|
203
|
+
[[package]]
|
|
204
|
+
name = "memchr"
|
|
205
|
+
version = "2.8.3"
|
|
206
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
207
|
+
checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98"
|
|
208
|
+
|
|
209
|
+
[[package]]
|
|
210
|
+
name = "num-traits"
|
|
211
|
+
version = "0.2.19"
|
|
212
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
213
|
+
checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841"
|
|
214
|
+
dependencies = [
|
|
215
|
+
"autocfg",
|
|
216
|
+
]
|
|
217
|
+
|
|
218
|
+
[[package]]
|
|
219
|
+
name = "once_cell"
|
|
220
|
+
version = "1.21.4"
|
|
221
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
222
|
+
checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50"
|
|
223
|
+
|
|
224
|
+
[[package]]
|
|
225
|
+
name = "oorandom"
|
|
226
|
+
version = "11.1.5"
|
|
227
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
228
|
+
checksum = "d6790f58c7ff633d8771f42965289203411a5e5c68388703c06e14f24770b41e"
|
|
229
|
+
|
|
230
|
+
[[package]]
|
|
231
|
+
name = "portable-atomic"
|
|
232
|
+
version = "1.15.0"
|
|
233
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
234
|
+
checksum = "05c8b63e8d9609db387f0324918f81d68fe27748f084ef092fb35954d0539a85"
|
|
235
|
+
|
|
236
|
+
[[package]]
|
|
237
|
+
name = "proc-macro2"
|
|
238
|
+
version = "1.0.107"
|
|
239
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
240
|
+
checksum = "985e7ec9bb745e6ce6535b544d84d6cd6f7ad8bd711c398938ae983b91a766d9"
|
|
241
|
+
dependencies = [
|
|
242
|
+
"unicode-ident",
|
|
243
|
+
]
|
|
244
|
+
|
|
245
|
+
[[package]]
|
|
246
|
+
name = "pyo3"
|
|
247
|
+
version = "0.30.1"
|
|
248
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
249
|
+
checksum = "229ca13b8a15bb0d1487b81ab975bfcd97513416499a8312011b6036e42e0de4"
|
|
250
|
+
dependencies = [
|
|
251
|
+
"libc",
|
|
252
|
+
"once_cell",
|
|
253
|
+
"portable-atomic",
|
|
254
|
+
"pyo3-build-config",
|
|
255
|
+
"pyo3-ffi",
|
|
256
|
+
"pyo3-macros",
|
|
257
|
+
]
|
|
258
|
+
|
|
259
|
+
[[package]]
|
|
260
|
+
name = "pyo3-build-config"
|
|
261
|
+
version = "0.30.1"
|
|
262
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
263
|
+
checksum = "70130e2b6dd1ee589a8788026a429561ca5c40fa7a2fa7914c2282eddae24700"
|
|
264
|
+
dependencies = [
|
|
265
|
+
"target-lexicon",
|
|
266
|
+
]
|
|
267
|
+
|
|
268
|
+
[[package]]
|
|
269
|
+
name = "pyo3-ffi"
|
|
270
|
+
version = "0.30.1"
|
|
271
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
272
|
+
checksum = "5e7ff73c555c286d212d4ce7e5fbda845a973c4f61bd5f160f5f2c3c2a04d1c4"
|
|
273
|
+
dependencies = [
|
|
274
|
+
"libc",
|
|
275
|
+
"pyo3-build-config",
|
|
276
|
+
]
|
|
277
|
+
|
|
278
|
+
[[package]]
|
|
279
|
+
name = "pyo3-macros"
|
|
280
|
+
version = "0.30.1"
|
|
281
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
282
|
+
checksum = "c46d2e5862c7bb8207e3b639f713dda3c499933444784154c11d013c5a691b60"
|
|
283
|
+
dependencies = [
|
|
284
|
+
"proc-macro2",
|
|
285
|
+
"pyo3-macros-backend",
|
|
286
|
+
"quote",
|
|
287
|
+
"syn 3.0.10",
|
|
288
|
+
]
|
|
289
|
+
|
|
290
|
+
[[package]]
|
|
291
|
+
name = "pyo3-macros-backend"
|
|
292
|
+
version = "0.30.1"
|
|
293
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
294
|
+
checksum = "38b89f066f2ae72a2aef52d1537ca2fcd104440ebfadee06e97aa90738a25b9b"
|
|
295
|
+
dependencies = [
|
|
296
|
+
"heck",
|
|
297
|
+
"proc-macro2",
|
|
298
|
+
"quote",
|
|
299
|
+
"syn 3.0.10",
|
|
300
|
+
]
|
|
301
|
+
|
|
302
|
+
[[package]]
|
|
303
|
+
name = "quote"
|
|
304
|
+
version = "1.0.47"
|
|
305
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
306
|
+
checksum = "1fbf4db142a473a8d80c26bbf18454ed458bf8d26c8219c331daecfdbd079001"
|
|
307
|
+
dependencies = [
|
|
308
|
+
"proc-macro2",
|
|
309
|
+
]
|
|
310
|
+
|
|
311
|
+
[[package]]
|
|
312
|
+
name = "regex"
|
|
313
|
+
version = "1.13.1"
|
|
314
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
315
|
+
checksum = "f020237b6c8eed93db2e2cb53c00c60a8e1bc73da7d073199a1180401450218d"
|
|
316
|
+
dependencies = [
|
|
317
|
+
"aho-corasick",
|
|
318
|
+
"memchr",
|
|
319
|
+
"regex-automata",
|
|
320
|
+
"regex-syntax",
|
|
321
|
+
]
|
|
322
|
+
|
|
323
|
+
[[package]]
|
|
324
|
+
name = "regex-automata"
|
|
325
|
+
version = "0.4.18"
|
|
326
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
327
|
+
checksum = "ad8553b9b26413251cbf30e620595c7a41b3887f03da04579c0e6b0d6a06b4b2"
|
|
328
|
+
dependencies = [
|
|
329
|
+
"aho-corasick",
|
|
330
|
+
"memchr",
|
|
331
|
+
"regex-syntax",
|
|
332
|
+
]
|
|
333
|
+
|
|
334
|
+
[[package]]
|
|
335
|
+
name = "regex-syntax"
|
|
336
|
+
version = "0.8.11"
|
|
337
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
338
|
+
checksum = "d6f6ff9a378485b298a5286656da665ba74413d36db0979633275d2e708145d4"
|
|
339
|
+
|
|
340
|
+
[[package]]
|
|
341
|
+
name = "rustversion"
|
|
342
|
+
version = "1.0.23"
|
|
343
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
344
|
+
checksum = "cf54715a573b99ac80df0bc206da022bcd442c974952c7b9720069370852e21f"
|
|
345
|
+
|
|
346
|
+
[[package]]
|
|
347
|
+
name = "same-file"
|
|
348
|
+
version = "1.0.6"
|
|
349
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
350
|
+
checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502"
|
|
351
|
+
dependencies = [
|
|
352
|
+
"winapi-util",
|
|
353
|
+
]
|
|
354
|
+
|
|
355
|
+
[[package]]
|
|
356
|
+
name = "serde"
|
|
357
|
+
version = "1.0.229"
|
|
358
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
359
|
+
checksum = "4148590afebada386688f18773da617792bf2ef03ffc1e4cbd2b1d45b023e0ba"
|
|
360
|
+
dependencies = [
|
|
361
|
+
"serde_core",
|
|
362
|
+
"serde_derive",
|
|
363
|
+
]
|
|
364
|
+
|
|
365
|
+
[[package]]
|
|
366
|
+
name = "serde_core"
|
|
367
|
+
version = "1.0.229"
|
|
368
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
369
|
+
checksum = "67dca2c9c51e58a4791a4b1ed58308b39c64224d349a935ab5039aa360942a48"
|
|
370
|
+
dependencies = [
|
|
371
|
+
"serde_derive",
|
|
372
|
+
]
|
|
373
|
+
|
|
374
|
+
[[package]]
|
|
375
|
+
name = "serde_derive"
|
|
376
|
+
version = "1.0.229"
|
|
377
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
378
|
+
checksum = "e7a5d71263a5a7d47b41f6b3f06ba276f10cc18b0931f1799f710578e2309348"
|
|
379
|
+
dependencies = [
|
|
380
|
+
"proc-macro2",
|
|
381
|
+
"quote",
|
|
382
|
+
"syn 3.0.10",
|
|
383
|
+
]
|
|
384
|
+
|
|
385
|
+
[[package]]
|
|
386
|
+
name = "serde_json"
|
|
387
|
+
version = "1.0.154"
|
|
388
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
389
|
+
checksum = "e7e9cc8b1b85264074fbcc02a88680c4096b1e47df8f739dceb03bf482f04bd6"
|
|
390
|
+
dependencies = [
|
|
391
|
+
"itoa",
|
|
392
|
+
"memchr",
|
|
393
|
+
"serde",
|
|
394
|
+
"serde_core",
|
|
395
|
+
"zmij",
|
|
396
|
+
]
|
|
397
|
+
|
|
398
|
+
[[package]]
|
|
399
|
+
name = "syn"
|
|
400
|
+
version = "2.0.119"
|
|
401
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
402
|
+
checksum = "872831b642d1a07999a962a351ed35b955ea2cfc8f3862091e2a240a84f17297"
|
|
403
|
+
dependencies = [
|
|
404
|
+
"proc-macro2",
|
|
405
|
+
"quote",
|
|
406
|
+
"unicode-ident",
|
|
407
|
+
]
|
|
408
|
+
|
|
409
|
+
[[package]]
|
|
410
|
+
name = "syn"
|
|
411
|
+
version = "3.0.10"
|
|
412
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
413
|
+
checksum = "4ae9ccbea3a7b0b09443036490c8f34a8b1b760fd345e5c0dae0aac718faea79"
|
|
414
|
+
dependencies = [
|
|
415
|
+
"proc-macro2",
|
|
416
|
+
"quote",
|
|
417
|
+
"unicode-ident",
|
|
418
|
+
]
|
|
419
|
+
|
|
420
|
+
[[package]]
|
|
421
|
+
name = "target-lexicon"
|
|
422
|
+
version = "0.13.5"
|
|
423
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
424
|
+
checksum = "adb6935a6f5c20170eeceb1a3835a49e12e19d792f6dd344ccc76a985ca5a6ca"
|
|
425
|
+
|
|
426
|
+
[[package]]
|
|
427
|
+
name = "tinytemplate"
|
|
428
|
+
version = "1.2.1"
|
|
429
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
430
|
+
checksum = "be4d6b5f19ff7664e8c98d03e2139cb510db9b0a60b55f8e8709b689d939b6bc"
|
|
431
|
+
dependencies = [
|
|
432
|
+
"serde",
|
|
433
|
+
"serde_json",
|
|
434
|
+
]
|
|
435
|
+
|
|
436
|
+
[[package]]
|
|
437
|
+
name = "uccharan"
|
|
438
|
+
version = "0.2.0"
|
|
439
|
+
dependencies = [
|
|
440
|
+
"criterion",
|
|
441
|
+
]
|
|
442
|
+
|
|
443
|
+
[[package]]
|
|
444
|
+
name = "uccharan-capi"
|
|
445
|
+
version = "0.2.0"
|
|
446
|
+
dependencies = [
|
|
447
|
+
"uccharan",
|
|
448
|
+
]
|
|
449
|
+
|
|
450
|
+
[[package]]
|
|
451
|
+
name = "uccharan-lexgen"
|
|
452
|
+
version = "0.2.0"
|
|
453
|
+
dependencies = [
|
|
454
|
+
"uccharan",
|
|
455
|
+
]
|
|
456
|
+
|
|
457
|
+
[[package]]
|
|
458
|
+
name = "uccharan-python"
|
|
459
|
+
version = "0.2.0"
|
|
460
|
+
dependencies = [
|
|
461
|
+
"pyo3",
|
|
462
|
+
"uccharan",
|
|
463
|
+
]
|
|
464
|
+
|
|
465
|
+
[[package]]
|
|
466
|
+
name = "uccharan-wasm"
|
|
467
|
+
version = "0.2.0"
|
|
468
|
+
dependencies = [
|
|
469
|
+
"uccharan",
|
|
470
|
+
"wasm-bindgen",
|
|
471
|
+
]
|
|
472
|
+
|
|
473
|
+
[[package]]
|
|
474
|
+
name = "unicode-ident"
|
|
475
|
+
version = "1.0.27"
|
|
476
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
477
|
+
checksum = "a2c754d6c33795a1c324727428e5a7dedb5b06195f9890bdbcba760d3e246563"
|
|
478
|
+
|
|
479
|
+
[[package]]
|
|
480
|
+
name = "walkdir"
|
|
481
|
+
version = "2.5.0"
|
|
482
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
483
|
+
checksum = "29790946404f91d9c5d06f9874efddea1dc06c5efe94541a7d6863108e3a5e4b"
|
|
484
|
+
dependencies = [
|
|
485
|
+
"same-file",
|
|
486
|
+
"winapi-util",
|
|
487
|
+
]
|
|
488
|
+
|
|
489
|
+
[[package]]
|
|
490
|
+
name = "wasm-bindgen"
|
|
491
|
+
version = "0.2.130"
|
|
492
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
493
|
+
checksum = "a0181c14ddd6c7b8b0b0132a5f1ea2f32be0d893cd3ea97b6e3b28886b8a3d1c"
|
|
494
|
+
dependencies = [
|
|
495
|
+
"cfg-if",
|
|
496
|
+
"rustversion",
|
|
497
|
+
"wasm-bindgen-macro",
|
|
498
|
+
"wasm-bindgen-shared",
|
|
499
|
+
]
|
|
500
|
+
|
|
501
|
+
[[package]]
|
|
502
|
+
name = "wasm-bindgen-macro"
|
|
503
|
+
version = "0.2.130"
|
|
504
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
505
|
+
checksum = "6e931a02a39abdbf66966fc35902b5ed58344750a70885bed4ebb3d8eaf28ed9"
|
|
506
|
+
dependencies = [
|
|
507
|
+
"quote",
|
|
508
|
+
"wasm-bindgen-macro-support",
|
|
509
|
+
]
|
|
510
|
+
|
|
511
|
+
[[package]]
|
|
512
|
+
name = "wasm-bindgen-macro-support"
|
|
513
|
+
version = "0.2.130"
|
|
514
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
515
|
+
checksum = "2ca4b54280e455bd831e33a6b8e734baf432fe63fbc35c42ac14ce67a043a53a"
|
|
516
|
+
dependencies = [
|
|
517
|
+
"bumpalo",
|
|
518
|
+
"proc-macro2",
|
|
519
|
+
"quote",
|
|
520
|
+
"syn 3.0.10",
|
|
521
|
+
"wasm-bindgen-shared",
|
|
522
|
+
]
|
|
523
|
+
|
|
524
|
+
[[package]]
|
|
525
|
+
name = "wasm-bindgen-shared"
|
|
526
|
+
version = "0.2.130"
|
|
527
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
528
|
+
checksum = "3b1f9c3798725016c6ee5f2f57869ec0831e8bbc0ab0310a86e787e97f41389e"
|
|
529
|
+
dependencies = [
|
|
530
|
+
"unicode-ident",
|
|
531
|
+
]
|
|
532
|
+
|
|
533
|
+
[[package]]
|
|
534
|
+
name = "winapi-util"
|
|
535
|
+
version = "0.1.11"
|
|
536
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
537
|
+
checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22"
|
|
538
|
+
dependencies = [
|
|
539
|
+
"windows-sys",
|
|
540
|
+
]
|
|
541
|
+
|
|
542
|
+
[[package]]
|
|
543
|
+
name = "windows-link"
|
|
544
|
+
version = "0.2.1"
|
|
545
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
546
|
+
checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5"
|
|
547
|
+
|
|
548
|
+
[[package]]
|
|
549
|
+
name = "windows-sys"
|
|
550
|
+
version = "0.61.2"
|
|
551
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
552
|
+
checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc"
|
|
553
|
+
dependencies = [
|
|
554
|
+
"windows-link",
|
|
555
|
+
]
|
|
556
|
+
|
|
557
|
+
[[package]]
|
|
558
|
+
name = "zerocopy"
|
|
559
|
+
version = "0.8.63"
|
|
560
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
561
|
+
checksum = "e5fe1f8f1b06191a00962174c61aa5005e0bb391a6d80d07e24d115c01a92ed8"
|
|
562
|
+
dependencies = [
|
|
563
|
+
"zerocopy-derive",
|
|
564
|
+
]
|
|
565
|
+
|
|
566
|
+
[[package]]
|
|
567
|
+
name = "zerocopy-derive"
|
|
568
|
+
version = "0.8.63"
|
|
569
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
570
|
+
checksum = "863ad3ac83293fb4d740aedbfdc9240dd8d1a50c1099acd76ce80ce7c7230c7f"
|
|
571
|
+
dependencies = [
|
|
572
|
+
"proc-macro2",
|
|
573
|
+
"quote",
|
|
574
|
+
"syn 2.0.119",
|
|
575
|
+
]
|
|
576
|
+
|
|
577
|
+
[[package]]
|
|
578
|
+
name = "zmij"
|
|
579
|
+
version = "1.0.23"
|
|
580
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
581
|
+
checksum = "29666d0abbfad1e3dc4dcf6144730dd3a3ab225bbbdac83319345b1b44ccfc1b"
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
[workspace]
|
|
2
|
+
resolver = "2"
|
|
3
|
+
members = ["crates/uccharan", "bindings/python"]
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
[workspace.package]
|
|
7
|
+
version = "0.2.0"
|
|
8
|
+
edition = "2021"
|
|
9
|
+
rust-version = "1.82"
|
|
10
|
+
license = "Apache-2.0"
|
|
11
|
+
authors = ["Abhinav Gautam <abhinav@codebuckets.in>"]
|
|
12
|
+
repository = "https://github.com/cB-Sigma/uccharan"
|
|
13
|
+
homepage = "https://cb-sigma.github.io/uccharan/"
|
|
14
|
+
|
|
15
|
+
[profile.release]
|
|
16
|
+
opt-level = 3
|
|
17
|
+
lto = "fat"
|
|
18
|
+
codegen-units = 1
|
|
19
|
+
panic = "abort"
|
|
20
|
+
strip = true
|
|
21
|
+
|
|
22
|
+
[profile.bench]
|
|
23
|
+
inherits = "release"
|
|
24
|
+
strip = false
|