pytexl 0.1.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.
- pytexl-0.1.0/Cargo.lock +756 -0
- pytexl-0.1.0/Cargo.toml +6 -0
- pytexl-0.1.0/PKG-INFO +64 -0
- pytexl-0.1.0/README.md +49 -0
- pytexl-0.1.0/pyproject.toml +26 -0
- pytexl-0.1.0/pytexl/Cargo.toml +18 -0
- pytexl-0.1.0/pytexl/README.md +49 -0
- pytexl-0.1.0/pytexl/build.rs +6 -0
- pytexl-0.1.0/pytexl/python/pytexl/__init__.py +360 -0
- pytexl-0.1.0/pytexl/python/pytexl/_pytexl.pyi +74 -0
- pytexl-0.1.0/pytexl/python/pytexl/loaders.py +119 -0
- pytexl-0.1.0/pytexl/python/pytexl/py.typed +0 -0
- pytexl-0.1.0/pytexl/src/convert.rs +425 -0
- pytexl-0.1.0/pytexl/src/lib.rs +196 -0
- pytexl-0.1.0/pytexl/src/runtime.rs +244 -0
- pytexl-0.1.0/pytexl/tests/fixtures/lib/format.texl +16 -0
- pytexl-0.1.0/pytexl/tests/fixtures/partials/counted.texl +1 -0
- pytexl-0.1.0/pytexl/tests/fixtures/partials/greeting.texl +3 -0
- pytexl-0.1.0/pytexl/tests/fixtures/partials/remote.texl +2 -0
- pytexl-0.1.0/pytexl/tests/fixtures/partials/rooted.texl +2 -0
- pytexl-0.1.0/pytexl/tests/fixtures/partials/signature.texl +1 -0
- pytexl-0.1.0/pytexl/tests/fixtures/sample.expected.txt +263 -0
- pytexl-0.1.0/pytexl/tests/fixtures/sample.texl +274 -0
- pytexl-0.1.0/pytexl/tests/python.rs +105 -0
- pytexl-0.1.0/pytexl/tests/support.py +50 -0
- pytexl-0.1.0/pytexl/tests/test_context.py +260 -0
- pytexl-0.1.0/pytexl/tests/test_convert.py +252 -0
- pytexl-0.1.0/pytexl/tests/test_engine.py +354 -0
- pytexl-0.1.0/pytexl/tests/test_loaders.py +80 -0
- pytexl-0.1.0/pytexl/tests/test_sample.py +61 -0
- pytexl-0.1.0/python/pytexl/__init__.py +360 -0
- pytexl-0.1.0/python/pytexl/_pytexl.pyi +74 -0
- pytexl-0.1.0/python/pytexl/loaders.py +119 -0
- pytexl-0.1.0/python/pytexl/py.typed +0 -0
- pytexl-0.1.0/swan-core/Cargo.toml +7 -0
- pytexl-0.1.0/swan-core/README.md +34 -0
- pytexl-0.1.0/swan-core/src/ast.rs +223 -0
- pytexl-0.1.0/swan-core/src/builtins/bool_.rs +212 -0
- pytexl-0.1.0/swan-core/src/builtins/helpers.rs +23 -0
- pytexl-0.1.0/swan-core/src/builtins/list.rs +486 -0
- pytexl-0.1.0/swan-core/src/builtins/math.rs +791 -0
- pytexl-0.1.0/swan-core/src/builtins/nspace.rs +265 -0
- pytexl-0.1.0/swan-core/src/builtins/numb.rs +129 -0
- pytexl-0.1.0/swan-core/src/builtins/promise.rs +171 -0
- pytexl-0.1.0/swan-core/src/builtins/text.rs +731 -0
- pytexl-0.1.0/swan-core/src/builtins/time.rs +525 -0
- pytexl-0.1.0/swan-core/src/builtins/undef.rs +207 -0
- pytexl-0.1.0/swan-core/src/builtins.rs +389 -0
- pytexl-0.1.0/swan-core/src/evaluator/affirm_operation.rs +72 -0
- pytexl-0.1.0/swan-core/src/evaluator/arithmetic_operations.rs +311 -0
- pytexl-0.1.0/swan-core/src/evaluator/assignment_operation.rs +138 -0
- pytexl-0.1.0/swan-core/src/evaluator/comparison_operations.rs +492 -0
- pytexl-0.1.0/swan-core/src/evaluator/lifting_operation.rs +87 -0
- pytexl-0.1.0/swan-core/src/evaluator/logical_negation_operation.rs +106 -0
- pytexl-0.1.0/swan-core/src/evaluator/negation_operation.rs +91 -0
- pytexl-0.1.0/swan-core/src/evaluator/pairing_operation.rs +117 -0
- pytexl-0.1.0/swan-core/src/evaluator/then_operation.rs +266 -0
- pytexl-0.1.0/swan-core/src/evaluator.rs +1181 -0
- pytexl-0.1.0/swan-core/src/lexer.rs +532 -0
- pytexl-0.1.0/swan-core/src/lib.rs +89 -0
- pytexl-0.1.0/swan-core/src/parser.rs +949 -0
- pytexl-0.1.0/swan-core/src/token.rs +164 -0
- pytexl-0.1.0/swan-core/src/value/func.rs +71 -0
- pytexl-0.1.0/swan-core/src/value/promise.rs +179 -0
- pytexl-0.1.0/swan-core/src/value/scope.rs +360 -0
- pytexl-0.1.0/swan-core/src/value/undef.rs +105 -0
- pytexl-0.1.0/swan-core/src/value.rs +667 -0
- pytexl-0.1.0/texl-core/Cargo.toml +9 -0
- pytexl-0.1.0/texl-core/README.md +28 -0
- pytexl-0.1.0/texl-core/src/engine.rs +700 -0
- pytexl-0.1.0/texl-core/src/helpers.rs +149 -0
- pytexl-0.1.0/texl-core/src/lib.rs +47 -0
- pytexl-0.1.0/texl-core/src/template.rs +393 -0
pytexl-0.1.0/Cargo.lock
ADDED
|
@@ -0,0 +1,756 @@
|
|
|
1
|
+
# This file is automatically @generated by Cargo.
|
|
2
|
+
# It is not intended for manual editing.
|
|
3
|
+
version = 4
|
|
4
|
+
|
|
5
|
+
[[package]]
|
|
6
|
+
name = "anstream"
|
|
7
|
+
version = "1.0.0"
|
|
8
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
9
|
+
checksum = "824a212faf96e9acacdbd09febd34438f8f711fb84e09a8916013cd7815ca28d"
|
|
10
|
+
dependencies = [
|
|
11
|
+
"anstyle",
|
|
12
|
+
"anstyle-parse",
|
|
13
|
+
"anstyle-query",
|
|
14
|
+
"anstyle-wincon",
|
|
15
|
+
"colorchoice",
|
|
16
|
+
"is_terminal_polyfill",
|
|
17
|
+
"utf8parse",
|
|
18
|
+
]
|
|
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 = "anstyle-parse"
|
|
28
|
+
version = "1.0.0"
|
|
29
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
30
|
+
checksum = "52ce7f38b242319f7cabaa6813055467063ecdc9d355bbb4ce0c68908cd8130e"
|
|
31
|
+
dependencies = [
|
|
32
|
+
"utf8parse",
|
|
33
|
+
]
|
|
34
|
+
|
|
35
|
+
[[package]]
|
|
36
|
+
name = "anstyle-query"
|
|
37
|
+
version = "1.1.5"
|
|
38
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
39
|
+
checksum = "40c48f72fd53cd289104fc64099abca73db4166ad86ea0b4341abe65af83dadc"
|
|
40
|
+
dependencies = [
|
|
41
|
+
"windows-sys",
|
|
42
|
+
]
|
|
43
|
+
|
|
44
|
+
[[package]]
|
|
45
|
+
name = "anstyle-wincon"
|
|
46
|
+
version = "3.0.11"
|
|
47
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
48
|
+
checksum = "291e6a250ff86cd4a820112fb8898808a366d8f9f58ce16d1f538353ad55747d"
|
|
49
|
+
dependencies = [
|
|
50
|
+
"anstyle",
|
|
51
|
+
"once_cell_polyfill",
|
|
52
|
+
"windows-sys",
|
|
53
|
+
]
|
|
54
|
+
|
|
55
|
+
[[package]]
|
|
56
|
+
name = "bumpalo"
|
|
57
|
+
version = "3.20.3"
|
|
58
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
59
|
+
checksum = "72f5acc6cb2ba439de613abc23857ec3d78374d8ed5ac84e9d11336e87da8649"
|
|
60
|
+
|
|
61
|
+
[[package]]
|
|
62
|
+
name = "cfg-if"
|
|
63
|
+
version = "1.0.5"
|
|
64
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
65
|
+
checksum = "4e7648175b45a9a48536d676f68d918270699102aa8dab5496df06904c914600"
|
|
66
|
+
|
|
67
|
+
[[package]]
|
|
68
|
+
name = "clap"
|
|
69
|
+
version = "4.6.7"
|
|
70
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
71
|
+
checksum = "aa8876b300ab35ba921adea3dfd70157a46249b33f95c9084ae5709785478946"
|
|
72
|
+
dependencies = [
|
|
73
|
+
"clap_builder",
|
|
74
|
+
"clap_derive",
|
|
75
|
+
]
|
|
76
|
+
|
|
77
|
+
[[package]]
|
|
78
|
+
name = "clap_builder"
|
|
79
|
+
version = "4.6.7"
|
|
80
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
81
|
+
checksum = "ec0797fb7aeb1406c84efac526901f7ec3ead2124f946b494e72879d4b54704d"
|
|
82
|
+
dependencies = [
|
|
83
|
+
"anstream",
|
|
84
|
+
"anstyle",
|
|
85
|
+
"clap_lex",
|
|
86
|
+
"strsim",
|
|
87
|
+
]
|
|
88
|
+
|
|
89
|
+
[[package]]
|
|
90
|
+
name = "clap_derive"
|
|
91
|
+
version = "4.6.7"
|
|
92
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
93
|
+
checksum = "f9c751b79415d4e559e3d1fcf128e09e720eb673a06d26cf6f392d37d75b66e0"
|
|
94
|
+
dependencies = [
|
|
95
|
+
"heck",
|
|
96
|
+
"proc-macro2",
|
|
97
|
+
"quote",
|
|
98
|
+
"syn",
|
|
99
|
+
]
|
|
100
|
+
|
|
101
|
+
[[package]]
|
|
102
|
+
name = "clap_lex"
|
|
103
|
+
version = "1.1.1"
|
|
104
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
105
|
+
checksum = "1c133bc6a41be0d194c306b5506d15e6feeea7b1d6604bd3f8310dfb2ca96486"
|
|
106
|
+
|
|
107
|
+
[[package]]
|
|
108
|
+
name = "colorchoice"
|
|
109
|
+
version = "1.0.5"
|
|
110
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
111
|
+
checksum = "1d07550c9036bf2ae0c684c4297d503f838287c83c53686d05370d0e139ae570"
|
|
112
|
+
|
|
113
|
+
[[package]]
|
|
114
|
+
name = "displaydoc"
|
|
115
|
+
version = "0.2.7"
|
|
116
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
117
|
+
checksum = "c6232dd377dcc64799954cbd3a9bb882e9cdc1308ccd87b1c098f1fb2eaf82a8"
|
|
118
|
+
dependencies = [
|
|
119
|
+
"proc-macro2",
|
|
120
|
+
"quote",
|
|
121
|
+
"syn",
|
|
122
|
+
]
|
|
123
|
+
|
|
124
|
+
[[package]]
|
|
125
|
+
name = "form_urlencoded"
|
|
126
|
+
version = "1.2.2"
|
|
127
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
128
|
+
checksum = "cb4cb245038516f5f85277875cdaa4f7d2c9a0fa0468de06ed190163b1581fcf"
|
|
129
|
+
dependencies = [
|
|
130
|
+
"percent-encoding",
|
|
131
|
+
]
|
|
132
|
+
|
|
133
|
+
[[package]]
|
|
134
|
+
name = "futures-core"
|
|
135
|
+
version = "0.3.34"
|
|
136
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
137
|
+
checksum = "92d699e522242e69e3003b94ecc1f960f3a5e015aa7c5d7486e65ad01dd94f5e"
|
|
138
|
+
|
|
139
|
+
[[package]]
|
|
140
|
+
name = "futures-task"
|
|
141
|
+
version = "0.3.34"
|
|
142
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
143
|
+
checksum = "cd417de3d1d015fc3bfd2b1ea46dfc7bab72ef86f1cc7cc9c78e728b34a6d1fd"
|
|
144
|
+
|
|
145
|
+
[[package]]
|
|
146
|
+
name = "futures-util"
|
|
147
|
+
version = "0.3.34"
|
|
148
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
149
|
+
checksum = "0d50a92467f8ba5dd6e3ee5d4bd04d73ab2e4e1c44474a0674821dfce14b79bc"
|
|
150
|
+
dependencies = [
|
|
151
|
+
"futures-core",
|
|
152
|
+
"futures-task",
|
|
153
|
+
"pin-project-lite",
|
|
154
|
+
"slab",
|
|
155
|
+
]
|
|
156
|
+
|
|
157
|
+
[[package]]
|
|
158
|
+
name = "heck"
|
|
159
|
+
version = "0.5.0"
|
|
160
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
161
|
+
checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
|
|
162
|
+
|
|
163
|
+
[[package]]
|
|
164
|
+
name = "icu_collections"
|
|
165
|
+
version = "2.3.0"
|
|
166
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
167
|
+
checksum = "fa68d21081c4a05d5a901a1c62add574c77048b6a1c67be3b50ce0b60d4ca513"
|
|
168
|
+
dependencies = [
|
|
169
|
+
"displaydoc",
|
|
170
|
+
"potential_utf",
|
|
171
|
+
"utf8_iter",
|
|
172
|
+
"yoke",
|
|
173
|
+
"zerofrom",
|
|
174
|
+
"zerovec",
|
|
175
|
+
]
|
|
176
|
+
|
|
177
|
+
[[package]]
|
|
178
|
+
name = "icu_locale_core"
|
|
179
|
+
version = "2.3.0"
|
|
180
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
181
|
+
checksum = "d56e28588da92eee5c3201a6eff33fabdd49b62269c8938d4ff050ce4d900deb"
|
|
182
|
+
dependencies = [
|
|
183
|
+
"displaydoc",
|
|
184
|
+
"litemap",
|
|
185
|
+
"tinystr",
|
|
186
|
+
"writeable",
|
|
187
|
+
"zerovec",
|
|
188
|
+
]
|
|
189
|
+
|
|
190
|
+
[[package]]
|
|
191
|
+
name = "icu_normalizer"
|
|
192
|
+
version = "2.3.0"
|
|
193
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
194
|
+
checksum = "12f9cf5f235641ed274641dd81c3f28d870e276763d0797aeeab72317b1c646f"
|
|
195
|
+
dependencies = [
|
|
196
|
+
"icu_collections",
|
|
197
|
+
"icu_normalizer_data",
|
|
198
|
+
"icu_properties",
|
|
199
|
+
"icu_provider",
|
|
200
|
+
"smallvec",
|
|
201
|
+
"zerovec",
|
|
202
|
+
]
|
|
203
|
+
|
|
204
|
+
[[package]]
|
|
205
|
+
name = "icu_normalizer_data"
|
|
206
|
+
version = "2.3.0"
|
|
207
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
208
|
+
checksum = "1563da1ed3e0b3bf3d74c9b85917ac9c56464d2f57242270c09c9e752f8021a0"
|
|
209
|
+
|
|
210
|
+
[[package]]
|
|
211
|
+
name = "icu_properties"
|
|
212
|
+
version = "2.3.0"
|
|
213
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
214
|
+
checksum = "7e7ca276ad3145661a65914e6daf131ca5120cd3dcee8f8f3214b8875184a148"
|
|
215
|
+
dependencies = [
|
|
216
|
+
"displaydoc",
|
|
217
|
+
"icu_collections",
|
|
218
|
+
"icu_locale_core",
|
|
219
|
+
"icu_properties_data",
|
|
220
|
+
"icu_provider",
|
|
221
|
+
"zerotrie",
|
|
222
|
+
"zerovec",
|
|
223
|
+
]
|
|
224
|
+
|
|
225
|
+
[[package]]
|
|
226
|
+
name = "icu_properties_data"
|
|
227
|
+
version = "2.3.0"
|
|
228
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
229
|
+
checksum = "e590f038c1464a96894fd6d10127e90a8be4509f56ff7ecef851b15cee0b7caa"
|
|
230
|
+
|
|
231
|
+
[[package]]
|
|
232
|
+
name = "icu_provider"
|
|
233
|
+
version = "2.3.1"
|
|
234
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
235
|
+
checksum = "d27bbb9d3abbefac45d55f647c9de1d44aafcd1186eb91879afef17c396c3e73"
|
|
236
|
+
dependencies = [
|
|
237
|
+
"displaydoc",
|
|
238
|
+
"icu_locale_core",
|
|
239
|
+
"writeable",
|
|
240
|
+
"yoke",
|
|
241
|
+
"zerofrom",
|
|
242
|
+
"zerotrie",
|
|
243
|
+
"zerovec",
|
|
244
|
+
]
|
|
245
|
+
|
|
246
|
+
[[package]]
|
|
247
|
+
name = "idna"
|
|
248
|
+
version = "1.1.0"
|
|
249
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
250
|
+
checksum = "3b0875f23caa03898994f6ddc501886a45c7d3d62d04d2d90788d47be1b1e4de"
|
|
251
|
+
dependencies = [
|
|
252
|
+
"idna_adapter",
|
|
253
|
+
"smallvec",
|
|
254
|
+
"utf8_iter",
|
|
255
|
+
]
|
|
256
|
+
|
|
257
|
+
[[package]]
|
|
258
|
+
name = "idna_adapter"
|
|
259
|
+
version = "1.2.2"
|
|
260
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
261
|
+
checksum = "cb68373c0d6620ef8105e855e7745e18b0d00d3bdb07fb532e434244cdb9a714"
|
|
262
|
+
dependencies = [
|
|
263
|
+
"icu_normalizer",
|
|
264
|
+
"icu_properties",
|
|
265
|
+
]
|
|
266
|
+
|
|
267
|
+
[[package]]
|
|
268
|
+
name = "is_terminal_polyfill"
|
|
269
|
+
version = "1.70.2"
|
|
270
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
271
|
+
checksum = "a6cb138bb79a146c1bd460005623e142ef0181e3d0219cb493e02f7d08a35695"
|
|
272
|
+
|
|
273
|
+
[[package]]
|
|
274
|
+
name = "js-sys"
|
|
275
|
+
version = "0.3.106"
|
|
276
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
277
|
+
checksum = "7883d941dae510fb2d978fc3fe018c71c9e2892fd38854de3e8b92c2e5ad9cc5"
|
|
278
|
+
dependencies = [
|
|
279
|
+
"cfg-if",
|
|
280
|
+
"futures-util",
|
|
281
|
+
"wasm-bindgen",
|
|
282
|
+
]
|
|
283
|
+
|
|
284
|
+
[[package]]
|
|
285
|
+
name = "libc"
|
|
286
|
+
version = "0.2.191"
|
|
287
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
288
|
+
checksum = "65cd87c9a6d60536580b316ad985726104730a5151c99845f2490428ef91240a"
|
|
289
|
+
|
|
290
|
+
[[package]]
|
|
291
|
+
name = "litemap"
|
|
292
|
+
version = "0.8.3"
|
|
293
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
294
|
+
checksum = "47d9d19d1d6efa0109d2f65ff4c85cddd50bd572e5a00127ab10987290bcefae"
|
|
295
|
+
|
|
296
|
+
[[package]]
|
|
297
|
+
name = "once_cell"
|
|
298
|
+
version = "1.21.4"
|
|
299
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
300
|
+
checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50"
|
|
301
|
+
|
|
302
|
+
[[package]]
|
|
303
|
+
name = "once_cell_polyfill"
|
|
304
|
+
version = "1.70.2"
|
|
305
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
306
|
+
checksum = "384b8ab6d37215f3c5301a95a4accb5d64aa607f1fcb26a11b5303878451b4fe"
|
|
307
|
+
|
|
308
|
+
[[package]]
|
|
309
|
+
name = "percent-encoding"
|
|
310
|
+
version = "2.3.2"
|
|
311
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
312
|
+
checksum = "9b4f627cb1b25917193a259e49bdad08f671f8d9708acfd5fe0a8c1455d87220"
|
|
313
|
+
|
|
314
|
+
[[package]]
|
|
315
|
+
name = "pin-project-lite"
|
|
316
|
+
version = "0.2.17"
|
|
317
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
318
|
+
checksum = "a89322df9ebe1c1578d689c92318e070967d1042b512afbe49518723f4e6d5cd"
|
|
319
|
+
|
|
320
|
+
[[package]]
|
|
321
|
+
name = "portable-atomic"
|
|
322
|
+
version = "1.15.0"
|
|
323
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
324
|
+
checksum = "05c8b63e8d9609db387f0324918f81d68fe27748f084ef092fb35954d0539a85"
|
|
325
|
+
|
|
326
|
+
[[package]]
|
|
327
|
+
name = "potential_utf"
|
|
328
|
+
version = "0.1.6"
|
|
329
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
330
|
+
checksum = "d83eb9bc6d8e5cf568e7a1101d60ee05e81ed50ea106026f3d18deeb046d7661"
|
|
331
|
+
dependencies = [
|
|
332
|
+
"zerovec",
|
|
333
|
+
]
|
|
334
|
+
|
|
335
|
+
[[package]]
|
|
336
|
+
name = "proc-macro2"
|
|
337
|
+
version = "1.0.107"
|
|
338
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
339
|
+
checksum = "985e7ec9bb745e6ce6535b544d84d6cd6f7ad8bd711c398938ae983b91a766d9"
|
|
340
|
+
dependencies = [
|
|
341
|
+
"unicode-ident",
|
|
342
|
+
]
|
|
343
|
+
|
|
344
|
+
[[package]]
|
|
345
|
+
name = "pyo3"
|
|
346
|
+
version = "0.30.1"
|
|
347
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
348
|
+
checksum = "229ca13b8a15bb0d1487b81ab975bfcd97513416499a8312011b6036e42e0de4"
|
|
349
|
+
dependencies = [
|
|
350
|
+
"libc",
|
|
351
|
+
"once_cell",
|
|
352
|
+
"portable-atomic",
|
|
353
|
+
"pyo3-build-config",
|
|
354
|
+
"pyo3-ffi",
|
|
355
|
+
"pyo3-macros",
|
|
356
|
+
]
|
|
357
|
+
|
|
358
|
+
[[package]]
|
|
359
|
+
name = "pyo3-build-config"
|
|
360
|
+
version = "0.30.1"
|
|
361
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
362
|
+
checksum = "70130e2b6dd1ee589a8788026a429561ca5c40fa7a2fa7914c2282eddae24700"
|
|
363
|
+
dependencies = [
|
|
364
|
+
"target-lexicon",
|
|
365
|
+
]
|
|
366
|
+
|
|
367
|
+
[[package]]
|
|
368
|
+
name = "pyo3-ffi"
|
|
369
|
+
version = "0.30.1"
|
|
370
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
371
|
+
checksum = "5e7ff73c555c286d212d4ce7e5fbda845a973c4f61bd5f160f5f2c3c2a04d1c4"
|
|
372
|
+
dependencies = [
|
|
373
|
+
"libc",
|
|
374
|
+
"pyo3-build-config",
|
|
375
|
+
]
|
|
376
|
+
|
|
377
|
+
[[package]]
|
|
378
|
+
name = "pyo3-macros"
|
|
379
|
+
version = "0.30.1"
|
|
380
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
381
|
+
checksum = "c46d2e5862c7bb8207e3b639f713dda3c499933444784154c11d013c5a691b60"
|
|
382
|
+
dependencies = [
|
|
383
|
+
"proc-macro2",
|
|
384
|
+
"pyo3-macros-backend",
|
|
385
|
+
"quote",
|
|
386
|
+
"syn",
|
|
387
|
+
]
|
|
388
|
+
|
|
389
|
+
[[package]]
|
|
390
|
+
name = "pyo3-macros-backend"
|
|
391
|
+
version = "0.30.1"
|
|
392
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
393
|
+
checksum = "38b89f066f2ae72a2aef52d1537ca2fcd104440ebfadee06e97aa90738a25b9b"
|
|
394
|
+
dependencies = [
|
|
395
|
+
"heck",
|
|
396
|
+
"proc-macro2",
|
|
397
|
+
"quote",
|
|
398
|
+
"syn",
|
|
399
|
+
]
|
|
400
|
+
|
|
401
|
+
[[package]]
|
|
402
|
+
name = "pytexl"
|
|
403
|
+
version = "0.1.0"
|
|
404
|
+
dependencies = [
|
|
405
|
+
"pyo3",
|
|
406
|
+
"pyo3-build-config",
|
|
407
|
+
"swan-core",
|
|
408
|
+
"texl-core",
|
|
409
|
+
"url",
|
|
410
|
+
]
|
|
411
|
+
|
|
412
|
+
[[package]]
|
|
413
|
+
name = "quote"
|
|
414
|
+
version = "1.0.47"
|
|
415
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
416
|
+
checksum = "1fbf4db142a473a8d80c26bbf18454ed458bf8d26c8219c331daecfdbd079001"
|
|
417
|
+
dependencies = [
|
|
418
|
+
"proc-macro2",
|
|
419
|
+
]
|
|
420
|
+
|
|
421
|
+
[[package]]
|
|
422
|
+
name = "rustversion"
|
|
423
|
+
version = "1.0.23"
|
|
424
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
425
|
+
checksum = "cf54715a573b99ac80df0bc206da022bcd442c974952c7b9720069370852e21f"
|
|
426
|
+
|
|
427
|
+
[[package]]
|
|
428
|
+
name = "serde"
|
|
429
|
+
version = "1.0.229"
|
|
430
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
431
|
+
checksum = "4148590afebada386688f18773da617792bf2ef03ffc1e4cbd2b1d45b023e0ba"
|
|
432
|
+
dependencies = [
|
|
433
|
+
"serde_core",
|
|
434
|
+
]
|
|
435
|
+
|
|
436
|
+
[[package]]
|
|
437
|
+
name = "serde_core"
|
|
438
|
+
version = "1.0.229"
|
|
439
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
440
|
+
checksum = "67dca2c9c51e58a4791a4b1ed58308b39c64224d349a935ab5039aa360942a48"
|
|
441
|
+
dependencies = [
|
|
442
|
+
"serde_derive",
|
|
443
|
+
]
|
|
444
|
+
|
|
445
|
+
[[package]]
|
|
446
|
+
name = "serde_derive"
|
|
447
|
+
version = "1.0.229"
|
|
448
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
449
|
+
checksum = "e7a5d71263a5a7d47b41f6b3f06ba276f10cc18b0931f1799f710578e2309348"
|
|
450
|
+
dependencies = [
|
|
451
|
+
"proc-macro2",
|
|
452
|
+
"quote",
|
|
453
|
+
"syn",
|
|
454
|
+
]
|
|
455
|
+
|
|
456
|
+
[[package]]
|
|
457
|
+
name = "slab"
|
|
458
|
+
version = "0.4.12"
|
|
459
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
460
|
+
checksum = "0c790de23124f9ab44544d7ac05d60440adc586479ce501c1d6d7da3cd8c9cf5"
|
|
461
|
+
|
|
462
|
+
[[package]]
|
|
463
|
+
name = "smallvec"
|
|
464
|
+
version = "1.16.3"
|
|
465
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
466
|
+
checksum = "5b3dc8af474f516a851ff4bd12db780f948b9250ad37211e4eec0bccea54e01b"
|
|
467
|
+
|
|
468
|
+
[[package]]
|
|
469
|
+
name = "stable_deref_trait"
|
|
470
|
+
version = "1.2.1"
|
|
471
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
472
|
+
checksum = "6ce2be8dc25455e1f91df71bfa12ad37d7af1092ae736f3a6cd0e37bc7810596"
|
|
473
|
+
|
|
474
|
+
[[package]]
|
|
475
|
+
name = "strsim"
|
|
476
|
+
version = "0.11.1"
|
|
477
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
478
|
+
checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f"
|
|
479
|
+
|
|
480
|
+
[[package]]
|
|
481
|
+
name = "swan-core"
|
|
482
|
+
version = "0.1.0"
|
|
483
|
+
|
|
484
|
+
[[package]]
|
|
485
|
+
name = "syn"
|
|
486
|
+
version = "3.0.6"
|
|
487
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
488
|
+
checksum = "8593e8e72159ed2257d083c7a454a85cbf854f37a0966d8d483aff8c8a3ebcee"
|
|
489
|
+
dependencies = [
|
|
490
|
+
"proc-macro2",
|
|
491
|
+
"quote",
|
|
492
|
+
"unicode-ident",
|
|
493
|
+
]
|
|
494
|
+
|
|
495
|
+
[[package]]
|
|
496
|
+
name = "synstructure"
|
|
497
|
+
version = "0.14.0"
|
|
498
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
499
|
+
checksum = "901704edd0dfe137f1987838ee4f259e4e063c31371bdb423f7ae38ec6f77f02"
|
|
500
|
+
dependencies = [
|
|
501
|
+
"proc-macro2",
|
|
502
|
+
"quote",
|
|
503
|
+
"syn",
|
|
504
|
+
]
|
|
505
|
+
|
|
506
|
+
[[package]]
|
|
507
|
+
name = "target-lexicon"
|
|
508
|
+
version = "0.13.5"
|
|
509
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
510
|
+
checksum = "adb6935a6f5c20170eeceb1a3835a49e12e19d792f6dd344ccc76a985ca5a6ca"
|
|
511
|
+
|
|
512
|
+
[[package]]
|
|
513
|
+
name = "texl-cli"
|
|
514
|
+
version = "0.1.0"
|
|
515
|
+
dependencies = [
|
|
516
|
+
"clap",
|
|
517
|
+
"swan-core",
|
|
518
|
+
"texl-core",
|
|
519
|
+
"tokio",
|
|
520
|
+
"url",
|
|
521
|
+
]
|
|
522
|
+
|
|
523
|
+
[[package]]
|
|
524
|
+
name = "texl-core"
|
|
525
|
+
version = "0.1.0"
|
|
526
|
+
dependencies = [
|
|
527
|
+
"swan-core",
|
|
528
|
+
"url",
|
|
529
|
+
]
|
|
530
|
+
|
|
531
|
+
[[package]]
|
|
532
|
+
name = "texl-wasm"
|
|
533
|
+
version = "0.1.0"
|
|
534
|
+
dependencies = [
|
|
535
|
+
"js-sys",
|
|
536
|
+
"swan-core",
|
|
537
|
+
"texl-core",
|
|
538
|
+
"url",
|
|
539
|
+
"wasm-bindgen",
|
|
540
|
+
"wasm-bindgen-futures",
|
|
541
|
+
]
|
|
542
|
+
|
|
543
|
+
[[package]]
|
|
544
|
+
name = "tinystr"
|
|
545
|
+
version = "0.8.4"
|
|
546
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
547
|
+
checksum = "b1e27c91459209c2986af3dcf603a5a74a4368754ce37414f59acc971167f643"
|
|
548
|
+
dependencies = [
|
|
549
|
+
"displaydoc",
|
|
550
|
+
"zerovec",
|
|
551
|
+
]
|
|
552
|
+
|
|
553
|
+
[[package]]
|
|
554
|
+
name = "tokio"
|
|
555
|
+
version = "1.53.2"
|
|
556
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
557
|
+
checksum = "e95f91fcc7a621e8b030f6aa23c71fe9838ae2fb4d8118b75602a328f5144044"
|
|
558
|
+
dependencies = [
|
|
559
|
+
"pin-project-lite",
|
|
560
|
+
"tokio-macros",
|
|
561
|
+
]
|
|
562
|
+
|
|
563
|
+
[[package]]
|
|
564
|
+
name = "tokio-macros"
|
|
565
|
+
version = "2.7.2"
|
|
566
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
567
|
+
checksum = "78773a2a397f451582ce068015985c33193cf6dea8b74d2a639fe457b2f07b0e"
|
|
568
|
+
dependencies = [
|
|
569
|
+
"proc-macro2",
|
|
570
|
+
"quote",
|
|
571
|
+
"syn",
|
|
572
|
+
]
|
|
573
|
+
|
|
574
|
+
[[package]]
|
|
575
|
+
name = "unicode-ident"
|
|
576
|
+
version = "1.0.26"
|
|
577
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
578
|
+
checksum = "d245f478577f809a851594d02313b640fb437e0bb33866753cff937863096954"
|
|
579
|
+
|
|
580
|
+
[[package]]
|
|
581
|
+
name = "url"
|
|
582
|
+
version = "2.5.8"
|
|
583
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
584
|
+
checksum = "ff67a8a4397373c3ef660812acab3268222035010ab8680ec4215f38ba3d0eed"
|
|
585
|
+
dependencies = [
|
|
586
|
+
"form_urlencoded",
|
|
587
|
+
"idna",
|
|
588
|
+
"percent-encoding",
|
|
589
|
+
"serde",
|
|
590
|
+
]
|
|
591
|
+
|
|
592
|
+
[[package]]
|
|
593
|
+
name = "utf8_iter"
|
|
594
|
+
version = "1.0.4"
|
|
595
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
596
|
+
checksum = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be"
|
|
597
|
+
|
|
598
|
+
[[package]]
|
|
599
|
+
name = "utf8parse"
|
|
600
|
+
version = "0.2.2"
|
|
601
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
602
|
+
checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821"
|
|
603
|
+
|
|
604
|
+
[[package]]
|
|
605
|
+
name = "wasm-bindgen"
|
|
606
|
+
version = "0.2.129"
|
|
607
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
608
|
+
checksum = "9bb54f33acc68fd454578d9820b0bde1a1a3d17aa17bb7b6595806d02886d409"
|
|
609
|
+
dependencies = [
|
|
610
|
+
"cfg-if",
|
|
611
|
+
"once_cell",
|
|
612
|
+
"rustversion",
|
|
613
|
+
"wasm-bindgen-macro",
|
|
614
|
+
"wasm-bindgen-shared",
|
|
615
|
+
]
|
|
616
|
+
|
|
617
|
+
[[package]]
|
|
618
|
+
name = "wasm-bindgen-futures"
|
|
619
|
+
version = "0.4.79"
|
|
620
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
621
|
+
checksum = "3cbab34de2d982e9b48e18d216d04c4a6f641066ff19ffb699980f591ee3610e"
|
|
622
|
+
dependencies = [
|
|
623
|
+
"js-sys",
|
|
624
|
+
"tokio",
|
|
625
|
+
"wasm-bindgen",
|
|
626
|
+
]
|
|
627
|
+
|
|
628
|
+
[[package]]
|
|
629
|
+
name = "wasm-bindgen-macro"
|
|
630
|
+
version = "0.2.129"
|
|
631
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
632
|
+
checksum = "2e29d0c35b16e224a7eeb5cd2d25e3e1968fbd65604117b44d3b789d00ee8535"
|
|
633
|
+
dependencies = [
|
|
634
|
+
"quote",
|
|
635
|
+
"wasm-bindgen-macro-support",
|
|
636
|
+
]
|
|
637
|
+
|
|
638
|
+
[[package]]
|
|
639
|
+
name = "wasm-bindgen-macro-support"
|
|
640
|
+
version = "0.2.129"
|
|
641
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
642
|
+
checksum = "6f501a8bc3719dba86ef8ae4728879c08001bea749eb1333ac5b91e040e2a6b7"
|
|
643
|
+
dependencies = [
|
|
644
|
+
"bumpalo",
|
|
645
|
+
"proc-macro2",
|
|
646
|
+
"quote",
|
|
647
|
+
"syn",
|
|
648
|
+
"wasm-bindgen-shared",
|
|
649
|
+
]
|
|
650
|
+
|
|
651
|
+
[[package]]
|
|
652
|
+
name = "wasm-bindgen-shared"
|
|
653
|
+
version = "0.2.129"
|
|
654
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
655
|
+
checksum = "23f0c9c52aa7cd7d77769a4cfe2a9adb1b331f489a41d912ce14513d5ab995c6"
|
|
656
|
+
dependencies = [
|
|
657
|
+
"unicode-ident",
|
|
658
|
+
]
|
|
659
|
+
|
|
660
|
+
[[package]]
|
|
661
|
+
name = "windows-link"
|
|
662
|
+
version = "0.2.1"
|
|
663
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
664
|
+
checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5"
|
|
665
|
+
|
|
666
|
+
[[package]]
|
|
667
|
+
name = "windows-sys"
|
|
668
|
+
version = "0.61.2"
|
|
669
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
670
|
+
checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc"
|
|
671
|
+
dependencies = [
|
|
672
|
+
"windows-link",
|
|
673
|
+
]
|
|
674
|
+
|
|
675
|
+
[[package]]
|
|
676
|
+
name = "writeable"
|
|
677
|
+
version = "0.6.4"
|
|
678
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
679
|
+
checksum = "3ad82d2a33cdc9674dc7465672f271e096168fcdbe0f799d9e6db8c5892679dc"
|
|
680
|
+
|
|
681
|
+
[[package]]
|
|
682
|
+
name = "yoke"
|
|
683
|
+
version = "0.8.3"
|
|
684
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
685
|
+
checksum = "709fe23a0424b6a435d82152b1bd3fdfb0833487d5fa90d05d42762a9891fef5"
|
|
686
|
+
dependencies = [
|
|
687
|
+
"stable_deref_trait",
|
|
688
|
+
"yoke-derive",
|
|
689
|
+
"zerofrom",
|
|
690
|
+
]
|
|
691
|
+
|
|
692
|
+
[[package]]
|
|
693
|
+
name = "yoke-derive"
|
|
694
|
+
version = "0.8.4"
|
|
695
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
696
|
+
checksum = "ec8ebde2db3681e8c9980cc27822030e68752690ddfa9473e739aeb4dbde6d71"
|
|
697
|
+
dependencies = [
|
|
698
|
+
"proc-macro2",
|
|
699
|
+
"quote",
|
|
700
|
+
"syn",
|
|
701
|
+
"synstructure",
|
|
702
|
+
]
|
|
703
|
+
|
|
704
|
+
[[package]]
|
|
705
|
+
name = "zerofrom"
|
|
706
|
+
version = "0.1.8"
|
|
707
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
708
|
+
checksum = "0ec05a11813ea801ff6d75110ad09cd0824ddba17dfe17128ea0d5f68e6c5272"
|
|
709
|
+
dependencies = [
|
|
710
|
+
"zerofrom-derive",
|
|
711
|
+
]
|
|
712
|
+
|
|
713
|
+
[[package]]
|
|
714
|
+
name = "zerofrom-derive"
|
|
715
|
+
version = "0.1.8"
|
|
716
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
717
|
+
checksum = "f75b4683f6c7f45248d4d64056a24298c6281e0993356d7d1b4a1a962ef10d4a"
|
|
718
|
+
dependencies = [
|
|
719
|
+
"proc-macro2",
|
|
720
|
+
"quote",
|
|
721
|
+
"syn",
|
|
722
|
+
"synstructure",
|
|
723
|
+
]
|
|
724
|
+
|
|
725
|
+
[[package]]
|
|
726
|
+
name = "zerotrie"
|
|
727
|
+
version = "0.2.5"
|
|
728
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
729
|
+
checksum = "4ea269c3bd32f0a32c321907a2ae912ba6f4649bb0fc764a15627e99a7095a3f"
|
|
730
|
+
dependencies = [
|
|
731
|
+
"displaydoc",
|
|
732
|
+
"yoke",
|
|
733
|
+
"zerofrom",
|
|
734
|
+
]
|
|
735
|
+
|
|
736
|
+
[[package]]
|
|
737
|
+
name = "zerovec"
|
|
738
|
+
version = "0.11.8"
|
|
739
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
740
|
+
checksum = "bb0464e17806c1d976d5cba29399c7f08e516e279e2ba493f63123b5fca67dd8"
|
|
741
|
+
dependencies = [
|
|
742
|
+
"yoke",
|
|
743
|
+
"zerofrom",
|
|
744
|
+
"zerovec-derive",
|
|
745
|
+
]
|
|
746
|
+
|
|
747
|
+
[[package]]
|
|
748
|
+
name = "zerovec-derive"
|
|
749
|
+
version = "0.11.6"
|
|
750
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
751
|
+
checksum = "34df6fc39dbd26ddc9c10e6a2984476e13acce22e64e4487636ef494369225da"
|
|
752
|
+
dependencies = [
|
|
753
|
+
"proc-macro2",
|
|
754
|
+
"quote",
|
|
755
|
+
"syn",
|
|
756
|
+
]
|