jiter 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.
- jiter-0.1.0/Cargo.lock +666 -0
- jiter-0.1.0/Cargo.toml +26 -0
- jiter-0.1.0/PKG-INFO +45 -0
- jiter-0.1.0/README.md +152 -0
- jiter-0.1.0/crates/jiter/Cargo.toml +51 -0
- jiter-0.1.0/crates/jiter/LICENSE +21 -0
- jiter-0.1.0/crates/jiter/README.md +152 -0
- jiter-0.1.0/crates/jiter/benches/bigints_array.json +1 -0
- jiter-0.1.0/crates/jiter/benches/floats_array.json +1 -0
- jiter-0.1.0/crates/jiter/benches/generate_big.py +19 -0
- jiter-0.1.0/crates/jiter/benches/main.rs +371 -0
- jiter-0.1.0/crates/jiter/benches/massive_ints_array.json +1 -0
- jiter-0.1.0/crates/jiter/benches/medium_response.json +93 -0
- jiter-0.1.0/crates/jiter/benches/pass1.json +58 -0
- jiter-0.1.0/crates/jiter/benches/pass2.json +1 -0
- jiter-0.1.0/crates/jiter/benches/python.rs +122 -0
- jiter-0.1.0/crates/jiter/benches/sentence.json +1 -0
- jiter-0.1.0/crates/jiter/benches/short_numbers.json +1 -0
- jiter-0.1.0/crates/jiter/benches/string_array.json +1 -0
- jiter-0.1.0/crates/jiter/benches/string_array_unique.json +1 -0
- jiter-0.1.0/crates/jiter/benches/true_array.json +1 -0
- jiter-0.1.0/crates/jiter/benches/true_object.json +1 -0
- jiter-0.1.0/crates/jiter/benches/unicode.json +1 -0
- jiter-0.1.0/crates/jiter/benches/x100.json +1 -0
- jiter-0.1.0/crates/jiter/build.rs +4 -0
- jiter-0.1.0/crates/jiter/src/errors.rs +295 -0
- jiter-0.1.0/crates/jiter/src/jiter.rs +377 -0
- jiter-0.1.0/crates/jiter/src/lazy_index_map.rs +174 -0
- jiter-0.1.0/crates/jiter/src/lib.rs +27 -0
- jiter-0.1.0/crates/jiter/src/number_decoder.rs +496 -0
- jiter-0.1.0/crates/jiter/src/parse.rs +285 -0
- jiter-0.1.0/crates/jiter/src/py_string_cache.rs +212 -0
- jiter-0.1.0/crates/jiter/src/python.rs +263 -0
- jiter-0.1.0/crates/jiter/src/simd_aarch64.rs +258 -0
- jiter-0.1.0/crates/jiter/src/string_decoder.rs +370 -0
- jiter-0.1.0/crates/jiter/src/value.rs +288 -0
- jiter-0.1.0/crates/jiter/tests/main.rs +1567 -0
- jiter-0.1.0/crates/jiter/tests/python.rs +86 -0
- jiter-0.1.0/crates/jiter-python/Cargo.toml +17 -0
- jiter-0.1.0/crates/jiter-python/README.md +36 -0
- jiter-0.1.0/crates/jiter-python/bench.py +107 -0
- jiter-0.1.0/crates/jiter-python/jiter.pyi +12 -0
- jiter-0.1.0/crates/jiter-python/requirements.txt +3 -0
- jiter-0.1.0/crates/jiter-python/src/lib.rs +69 -0
- jiter-0.1.0/crates/jiter-python/tests/requirements.txt +2 -0
- jiter-0.1.0/crates/jiter-python/tests/test_jiter.py +146 -0
- jiter-0.1.0/pyproject.toml +22 -0
jiter-0.1.0/Cargo.lock
ADDED
|
@@ -0,0 +1,666 @@
|
|
|
1
|
+
# This file is automatically @generated by Cargo.
|
|
2
|
+
# It is not intended for manual editing.
|
|
3
|
+
version = 3
|
|
4
|
+
|
|
5
|
+
[[package]]
|
|
6
|
+
name = "ahash"
|
|
7
|
+
version = "0.8.11"
|
|
8
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
9
|
+
checksum = "e89da841a80418a9b391ebaea17f5c112ffaaa96f621d2c285b5174da76b9011"
|
|
10
|
+
dependencies = [
|
|
11
|
+
"cfg-if",
|
|
12
|
+
"getrandom",
|
|
13
|
+
"once_cell",
|
|
14
|
+
"version_check",
|
|
15
|
+
"zerocopy",
|
|
16
|
+
]
|
|
17
|
+
|
|
18
|
+
[[package]]
|
|
19
|
+
name = "arbitrary"
|
|
20
|
+
version = "1.3.2"
|
|
21
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
22
|
+
checksum = "7d5a26814d8dcb93b0e5a0ff3c6d80a8843bafb21b39e8e18a6f05471870e110"
|
|
23
|
+
|
|
24
|
+
[[package]]
|
|
25
|
+
name = "autocfg"
|
|
26
|
+
version = "1.3.0"
|
|
27
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
28
|
+
checksum = "0c4b4d0bd25bd0b74681c0ad21497610ce1b7c91b1022cd21c80c6fbdd9476b0"
|
|
29
|
+
|
|
30
|
+
[[package]]
|
|
31
|
+
name = "bencher"
|
|
32
|
+
version = "0.1.5"
|
|
33
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
34
|
+
checksum = "7dfdb4953a096c551ce9ace855a604d702e6e62d77fac690575ae347571717f5"
|
|
35
|
+
|
|
36
|
+
[[package]]
|
|
37
|
+
name = "bitflags"
|
|
38
|
+
version = "2.5.0"
|
|
39
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
40
|
+
checksum = "cf4b9d6a944f767f8e5e0db018570623c85f3d925ac718db4e06d0187adb21c1"
|
|
41
|
+
|
|
42
|
+
[[package]]
|
|
43
|
+
name = "cc"
|
|
44
|
+
version = "1.0.97"
|
|
45
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
46
|
+
checksum = "099a5357d84c4c61eb35fc8eafa9a79a902c2f76911e5747ced4e032edd8d9b4"
|
|
47
|
+
dependencies = [
|
|
48
|
+
"jobserver",
|
|
49
|
+
"libc",
|
|
50
|
+
"once_cell",
|
|
51
|
+
]
|
|
52
|
+
|
|
53
|
+
[[package]]
|
|
54
|
+
name = "cfg-if"
|
|
55
|
+
version = "1.0.0"
|
|
56
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
57
|
+
checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
|
|
58
|
+
|
|
59
|
+
[[package]]
|
|
60
|
+
name = "codspeed"
|
|
61
|
+
version = "2.6.0"
|
|
62
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
63
|
+
checksum = "3a104ac948e0188b921eb3fcbdd55dcf62e542df4c7ab7e660623f6288302089"
|
|
64
|
+
dependencies = [
|
|
65
|
+
"colored",
|
|
66
|
+
"libc",
|
|
67
|
+
"serde_json",
|
|
68
|
+
]
|
|
69
|
+
|
|
70
|
+
[[package]]
|
|
71
|
+
name = "codspeed-bencher-compat"
|
|
72
|
+
version = "2.6.0"
|
|
73
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
74
|
+
checksum = "ceaba84ea2634603a0f199c07fa39ff4dda61f89a3f9149fb89b035bc317b671"
|
|
75
|
+
dependencies = [
|
|
76
|
+
"bencher",
|
|
77
|
+
"codspeed",
|
|
78
|
+
]
|
|
79
|
+
|
|
80
|
+
[[package]]
|
|
81
|
+
name = "colored"
|
|
82
|
+
version = "2.1.0"
|
|
83
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
84
|
+
checksum = "cbf2150cce219b664a8a70df7a1f933836724b503f8a413af9365b4dcc4d90b8"
|
|
85
|
+
dependencies = [
|
|
86
|
+
"lazy_static",
|
|
87
|
+
"windows-sys",
|
|
88
|
+
]
|
|
89
|
+
|
|
90
|
+
[[package]]
|
|
91
|
+
name = "equivalent"
|
|
92
|
+
version = "1.0.1"
|
|
93
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
94
|
+
checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5"
|
|
95
|
+
|
|
96
|
+
[[package]]
|
|
97
|
+
name = "fuzz"
|
|
98
|
+
version = "0.3.0"
|
|
99
|
+
dependencies = [
|
|
100
|
+
"indexmap",
|
|
101
|
+
"jiter",
|
|
102
|
+
"libfuzzer-sys",
|
|
103
|
+
"num-bigint",
|
|
104
|
+
"num-traits",
|
|
105
|
+
"serde",
|
|
106
|
+
"serde_json",
|
|
107
|
+
]
|
|
108
|
+
|
|
109
|
+
[[package]]
|
|
110
|
+
name = "getrandom"
|
|
111
|
+
version = "0.2.14"
|
|
112
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
113
|
+
checksum = "94b22e06ecb0110981051723910cbf0b5f5e09a2062dd7663334ee79a9d1286c"
|
|
114
|
+
dependencies = [
|
|
115
|
+
"cfg-if",
|
|
116
|
+
"libc",
|
|
117
|
+
"wasi",
|
|
118
|
+
]
|
|
119
|
+
|
|
120
|
+
[[package]]
|
|
121
|
+
name = "hashbrown"
|
|
122
|
+
version = "0.14.5"
|
|
123
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
124
|
+
checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1"
|
|
125
|
+
|
|
126
|
+
[[package]]
|
|
127
|
+
name = "heck"
|
|
128
|
+
version = "0.4.1"
|
|
129
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
130
|
+
checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8"
|
|
131
|
+
|
|
132
|
+
[[package]]
|
|
133
|
+
name = "indexmap"
|
|
134
|
+
version = "2.2.6"
|
|
135
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
136
|
+
checksum = "168fb715dda47215e360912c096649d23d58bf392ac62f73919e831745e40f26"
|
|
137
|
+
dependencies = [
|
|
138
|
+
"equivalent",
|
|
139
|
+
"hashbrown",
|
|
140
|
+
]
|
|
141
|
+
|
|
142
|
+
[[package]]
|
|
143
|
+
name = "indoc"
|
|
144
|
+
version = "2.0.5"
|
|
145
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
146
|
+
checksum = "b248f5224d1d606005e02c97f5aa4e88eeb230488bcc03bc9ca4d7991399f2b5"
|
|
147
|
+
|
|
148
|
+
[[package]]
|
|
149
|
+
name = "itoa"
|
|
150
|
+
version = "1.0.11"
|
|
151
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
152
|
+
checksum = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b"
|
|
153
|
+
|
|
154
|
+
[[package]]
|
|
155
|
+
name = "jiter"
|
|
156
|
+
version = "0.3.0"
|
|
157
|
+
dependencies = [
|
|
158
|
+
"ahash",
|
|
159
|
+
"bencher",
|
|
160
|
+
"codspeed-bencher-compat",
|
|
161
|
+
"lexical-parse-float",
|
|
162
|
+
"num-bigint",
|
|
163
|
+
"num-traits",
|
|
164
|
+
"paste",
|
|
165
|
+
"pyo3",
|
|
166
|
+
"pyo3-build-config",
|
|
167
|
+
"serde",
|
|
168
|
+
"serde_json",
|
|
169
|
+
"smallvec",
|
|
170
|
+
]
|
|
171
|
+
|
|
172
|
+
[[package]]
|
|
173
|
+
name = "jiter-python"
|
|
174
|
+
version = "0.1.0"
|
|
175
|
+
dependencies = [
|
|
176
|
+
"jiter",
|
|
177
|
+
"pyo3",
|
|
178
|
+
]
|
|
179
|
+
|
|
180
|
+
[[package]]
|
|
181
|
+
name = "jobserver"
|
|
182
|
+
version = "0.1.31"
|
|
183
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
184
|
+
checksum = "d2b099aaa34a9751c5bf0878add70444e1ed2dd73f347be99003d4577277de6e"
|
|
185
|
+
dependencies = [
|
|
186
|
+
"libc",
|
|
187
|
+
]
|
|
188
|
+
|
|
189
|
+
[[package]]
|
|
190
|
+
name = "lazy_static"
|
|
191
|
+
version = "1.4.0"
|
|
192
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
193
|
+
checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646"
|
|
194
|
+
|
|
195
|
+
[[package]]
|
|
196
|
+
name = "lexical-parse-float"
|
|
197
|
+
version = "0.8.5"
|
|
198
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
199
|
+
checksum = "683b3a5ebd0130b8fb52ba0bdc718cc56815b6a097e28ae5a6997d0ad17dc05f"
|
|
200
|
+
dependencies = [
|
|
201
|
+
"lexical-parse-integer",
|
|
202
|
+
"lexical-util",
|
|
203
|
+
"static_assertions",
|
|
204
|
+
]
|
|
205
|
+
|
|
206
|
+
[[package]]
|
|
207
|
+
name = "lexical-parse-integer"
|
|
208
|
+
version = "0.8.6"
|
|
209
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
210
|
+
checksum = "6d0994485ed0c312f6d965766754ea177d07f9c00c9b82a5ee62ed5b47945ee9"
|
|
211
|
+
dependencies = [
|
|
212
|
+
"lexical-util",
|
|
213
|
+
"static_assertions",
|
|
214
|
+
]
|
|
215
|
+
|
|
216
|
+
[[package]]
|
|
217
|
+
name = "lexical-util"
|
|
218
|
+
version = "0.8.5"
|
|
219
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
220
|
+
checksum = "5255b9ff16ff898710eb9eb63cb39248ea8a5bb036bea8085b1a767ff6c4e3fc"
|
|
221
|
+
dependencies = [
|
|
222
|
+
"static_assertions",
|
|
223
|
+
]
|
|
224
|
+
|
|
225
|
+
[[package]]
|
|
226
|
+
name = "libc"
|
|
227
|
+
version = "0.2.153"
|
|
228
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
229
|
+
checksum = "9c198f91728a82281a64e1f4f9eeb25d82cb32a5de251c6bd1b5154d63a8e7bd"
|
|
230
|
+
|
|
231
|
+
[[package]]
|
|
232
|
+
name = "libfuzzer-sys"
|
|
233
|
+
version = "0.4.7"
|
|
234
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
235
|
+
checksum = "a96cfd5557eb82f2b83fed4955246c988d331975a002961b07c81584d107e7f7"
|
|
236
|
+
dependencies = [
|
|
237
|
+
"arbitrary",
|
|
238
|
+
"cc",
|
|
239
|
+
"once_cell",
|
|
240
|
+
]
|
|
241
|
+
|
|
242
|
+
[[package]]
|
|
243
|
+
name = "lock_api"
|
|
244
|
+
version = "0.4.12"
|
|
245
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
246
|
+
checksum = "07af8b9cdd281b7915f413fa73f29ebd5d55d0d3f0155584dade1ff18cea1b17"
|
|
247
|
+
dependencies = [
|
|
248
|
+
"autocfg",
|
|
249
|
+
"scopeguard",
|
|
250
|
+
]
|
|
251
|
+
|
|
252
|
+
[[package]]
|
|
253
|
+
name = "memoffset"
|
|
254
|
+
version = "0.9.1"
|
|
255
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
256
|
+
checksum = "488016bfae457b036d996092f6cb448677611ce4449e970ceaf42695203f218a"
|
|
257
|
+
dependencies = [
|
|
258
|
+
"autocfg",
|
|
259
|
+
]
|
|
260
|
+
|
|
261
|
+
[[package]]
|
|
262
|
+
name = "num-bigint"
|
|
263
|
+
version = "0.4.5"
|
|
264
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
265
|
+
checksum = "c165a9ab64cf766f73521c0dd2cfdff64f488b8f0b3e621face3462d3db536d7"
|
|
266
|
+
dependencies = [
|
|
267
|
+
"num-integer",
|
|
268
|
+
"num-traits",
|
|
269
|
+
]
|
|
270
|
+
|
|
271
|
+
[[package]]
|
|
272
|
+
name = "num-integer"
|
|
273
|
+
version = "0.1.46"
|
|
274
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
275
|
+
checksum = "7969661fd2958a5cb096e56c8e1ad0444ac2bbcd0061bd28660485a44879858f"
|
|
276
|
+
dependencies = [
|
|
277
|
+
"num-traits",
|
|
278
|
+
]
|
|
279
|
+
|
|
280
|
+
[[package]]
|
|
281
|
+
name = "num-traits"
|
|
282
|
+
version = "0.2.19"
|
|
283
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
284
|
+
checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841"
|
|
285
|
+
dependencies = [
|
|
286
|
+
"autocfg",
|
|
287
|
+
]
|
|
288
|
+
|
|
289
|
+
[[package]]
|
|
290
|
+
name = "once_cell"
|
|
291
|
+
version = "1.19.0"
|
|
292
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
293
|
+
checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92"
|
|
294
|
+
|
|
295
|
+
[[package]]
|
|
296
|
+
name = "parking_lot"
|
|
297
|
+
version = "0.12.2"
|
|
298
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
299
|
+
checksum = "7e4af0ca4f6caed20e900d564c242b8e5d4903fdacf31d3daf527b66fe6f42fb"
|
|
300
|
+
dependencies = [
|
|
301
|
+
"lock_api",
|
|
302
|
+
"parking_lot_core",
|
|
303
|
+
]
|
|
304
|
+
|
|
305
|
+
[[package]]
|
|
306
|
+
name = "parking_lot_core"
|
|
307
|
+
version = "0.9.10"
|
|
308
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
309
|
+
checksum = "1e401f977ab385c9e4e3ab30627d6f26d00e2c73eef317493c4ec6d468726cf8"
|
|
310
|
+
dependencies = [
|
|
311
|
+
"cfg-if",
|
|
312
|
+
"libc",
|
|
313
|
+
"redox_syscall",
|
|
314
|
+
"smallvec",
|
|
315
|
+
"windows-targets 0.52.5",
|
|
316
|
+
]
|
|
317
|
+
|
|
318
|
+
[[package]]
|
|
319
|
+
name = "paste"
|
|
320
|
+
version = "1.0.15"
|
|
321
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
322
|
+
checksum = "57c0d7b74b563b49d38dae00a0c37d4d6de9b432382b2892f0574ddcae73fd0a"
|
|
323
|
+
|
|
324
|
+
[[package]]
|
|
325
|
+
name = "portable-atomic"
|
|
326
|
+
version = "1.6.0"
|
|
327
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
328
|
+
checksum = "7170ef9988bc169ba16dd36a7fa041e5c4cbeb6a35b76d4c03daded371eae7c0"
|
|
329
|
+
|
|
330
|
+
[[package]]
|
|
331
|
+
name = "proc-macro2"
|
|
332
|
+
version = "1.0.82"
|
|
333
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
334
|
+
checksum = "8ad3d49ab951a01fbaafe34f2ec74122942fe18a3f9814c3268f1bb72042131b"
|
|
335
|
+
dependencies = [
|
|
336
|
+
"unicode-ident",
|
|
337
|
+
]
|
|
338
|
+
|
|
339
|
+
[[package]]
|
|
340
|
+
name = "pyo3"
|
|
341
|
+
version = "0.21.2"
|
|
342
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
343
|
+
checksum = "a5e00b96a521718e08e03b1a622f01c8a8deb50719335de3f60b3b3950f069d8"
|
|
344
|
+
dependencies = [
|
|
345
|
+
"cfg-if",
|
|
346
|
+
"indoc",
|
|
347
|
+
"libc",
|
|
348
|
+
"memoffset",
|
|
349
|
+
"num-bigint",
|
|
350
|
+
"parking_lot",
|
|
351
|
+
"portable-atomic",
|
|
352
|
+
"pyo3-build-config",
|
|
353
|
+
"pyo3-ffi",
|
|
354
|
+
"pyo3-macros",
|
|
355
|
+
"unindent",
|
|
356
|
+
]
|
|
357
|
+
|
|
358
|
+
[[package]]
|
|
359
|
+
name = "pyo3-build-config"
|
|
360
|
+
version = "0.21.2"
|
|
361
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
362
|
+
checksum = "7883df5835fafdad87c0d888b266c8ec0f4c9ca48a5bed6bbb592e8dedee1b50"
|
|
363
|
+
dependencies = [
|
|
364
|
+
"once_cell",
|
|
365
|
+
"target-lexicon",
|
|
366
|
+
]
|
|
367
|
+
|
|
368
|
+
[[package]]
|
|
369
|
+
name = "pyo3-ffi"
|
|
370
|
+
version = "0.21.2"
|
|
371
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
372
|
+
checksum = "01be5843dc60b916ab4dad1dca6d20b9b4e6ddc8e15f50c47fe6d85f1fb97403"
|
|
373
|
+
dependencies = [
|
|
374
|
+
"libc",
|
|
375
|
+
"pyo3-build-config",
|
|
376
|
+
]
|
|
377
|
+
|
|
378
|
+
[[package]]
|
|
379
|
+
name = "pyo3-macros"
|
|
380
|
+
version = "0.21.2"
|
|
381
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
382
|
+
checksum = "77b34069fc0682e11b31dbd10321cbf94808394c56fd996796ce45217dfac53c"
|
|
383
|
+
dependencies = [
|
|
384
|
+
"proc-macro2",
|
|
385
|
+
"pyo3-macros-backend",
|
|
386
|
+
"quote",
|
|
387
|
+
"syn",
|
|
388
|
+
]
|
|
389
|
+
|
|
390
|
+
[[package]]
|
|
391
|
+
name = "pyo3-macros-backend"
|
|
392
|
+
version = "0.21.2"
|
|
393
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
394
|
+
checksum = "08260721f32db5e1a5beae69a55553f56b99bd0e1c3e6e0a5e8851a9d0f5a85c"
|
|
395
|
+
dependencies = [
|
|
396
|
+
"heck",
|
|
397
|
+
"proc-macro2",
|
|
398
|
+
"pyo3-build-config",
|
|
399
|
+
"quote",
|
|
400
|
+
"syn",
|
|
401
|
+
]
|
|
402
|
+
|
|
403
|
+
[[package]]
|
|
404
|
+
name = "quote"
|
|
405
|
+
version = "1.0.36"
|
|
406
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
407
|
+
checksum = "0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7"
|
|
408
|
+
dependencies = [
|
|
409
|
+
"proc-macro2",
|
|
410
|
+
]
|
|
411
|
+
|
|
412
|
+
[[package]]
|
|
413
|
+
name = "redox_syscall"
|
|
414
|
+
version = "0.5.1"
|
|
415
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
416
|
+
checksum = "469052894dcb553421e483e4209ee581a45100d31b4018de03e5a7ad86374a7e"
|
|
417
|
+
dependencies = [
|
|
418
|
+
"bitflags",
|
|
419
|
+
]
|
|
420
|
+
|
|
421
|
+
[[package]]
|
|
422
|
+
name = "ryu"
|
|
423
|
+
version = "1.0.18"
|
|
424
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
425
|
+
checksum = "f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f"
|
|
426
|
+
|
|
427
|
+
[[package]]
|
|
428
|
+
name = "scopeguard"
|
|
429
|
+
version = "1.2.0"
|
|
430
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
431
|
+
checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"
|
|
432
|
+
|
|
433
|
+
[[package]]
|
|
434
|
+
name = "serde"
|
|
435
|
+
version = "1.0.202"
|
|
436
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
437
|
+
checksum = "226b61a0d411b2ba5ff6d7f73a476ac4f8bb900373459cd00fab8512828ba395"
|
|
438
|
+
dependencies = [
|
|
439
|
+
"serde_derive",
|
|
440
|
+
]
|
|
441
|
+
|
|
442
|
+
[[package]]
|
|
443
|
+
name = "serde_derive"
|
|
444
|
+
version = "1.0.202"
|
|
445
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
446
|
+
checksum = "6048858004bcff69094cd972ed40a32500f153bd3be9f716b2eed2e8217c4838"
|
|
447
|
+
dependencies = [
|
|
448
|
+
"proc-macro2",
|
|
449
|
+
"quote",
|
|
450
|
+
"syn",
|
|
451
|
+
]
|
|
452
|
+
|
|
453
|
+
[[package]]
|
|
454
|
+
name = "serde_json"
|
|
455
|
+
version = "1.0.117"
|
|
456
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
457
|
+
checksum = "455182ea6142b14f93f4bc5320a2b31c1f266b66a4a5c858b013302a5d8cbfc3"
|
|
458
|
+
dependencies = [
|
|
459
|
+
"indexmap",
|
|
460
|
+
"itoa",
|
|
461
|
+
"ryu",
|
|
462
|
+
"serde",
|
|
463
|
+
]
|
|
464
|
+
|
|
465
|
+
[[package]]
|
|
466
|
+
name = "smallvec"
|
|
467
|
+
version = "1.13.2"
|
|
468
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
469
|
+
checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67"
|
|
470
|
+
|
|
471
|
+
[[package]]
|
|
472
|
+
name = "static_assertions"
|
|
473
|
+
version = "1.1.0"
|
|
474
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
475
|
+
checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f"
|
|
476
|
+
|
|
477
|
+
[[package]]
|
|
478
|
+
name = "syn"
|
|
479
|
+
version = "2.0.64"
|
|
480
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
481
|
+
checksum = "7ad3dee41f36859875573074334c200d1add8e4a87bb37113ebd31d926b7b11f"
|
|
482
|
+
dependencies = [
|
|
483
|
+
"proc-macro2",
|
|
484
|
+
"quote",
|
|
485
|
+
"unicode-ident",
|
|
486
|
+
]
|
|
487
|
+
|
|
488
|
+
[[package]]
|
|
489
|
+
name = "target-lexicon"
|
|
490
|
+
version = "0.12.14"
|
|
491
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
492
|
+
checksum = "e1fc403891a21bcfb7c37834ba66a547a8f402146eba7265b5a6d88059c9ff2f"
|
|
493
|
+
|
|
494
|
+
[[package]]
|
|
495
|
+
name = "unicode-ident"
|
|
496
|
+
version = "1.0.12"
|
|
497
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
498
|
+
checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b"
|
|
499
|
+
|
|
500
|
+
[[package]]
|
|
501
|
+
name = "unindent"
|
|
502
|
+
version = "0.2.3"
|
|
503
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
504
|
+
checksum = "c7de7d73e1754487cb58364ee906a499937a0dfabd86bcb980fa99ec8c8fa2ce"
|
|
505
|
+
|
|
506
|
+
[[package]]
|
|
507
|
+
name = "version_check"
|
|
508
|
+
version = "0.9.4"
|
|
509
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
510
|
+
checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f"
|
|
511
|
+
|
|
512
|
+
[[package]]
|
|
513
|
+
name = "wasi"
|
|
514
|
+
version = "0.11.0+wasi-snapshot-preview1"
|
|
515
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
516
|
+
checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423"
|
|
517
|
+
|
|
518
|
+
[[package]]
|
|
519
|
+
name = "windows-sys"
|
|
520
|
+
version = "0.48.0"
|
|
521
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
522
|
+
checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9"
|
|
523
|
+
dependencies = [
|
|
524
|
+
"windows-targets 0.48.5",
|
|
525
|
+
]
|
|
526
|
+
|
|
527
|
+
[[package]]
|
|
528
|
+
name = "windows-targets"
|
|
529
|
+
version = "0.48.5"
|
|
530
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
531
|
+
checksum = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c"
|
|
532
|
+
dependencies = [
|
|
533
|
+
"windows_aarch64_gnullvm 0.48.5",
|
|
534
|
+
"windows_aarch64_msvc 0.48.5",
|
|
535
|
+
"windows_i686_gnu 0.48.5",
|
|
536
|
+
"windows_i686_msvc 0.48.5",
|
|
537
|
+
"windows_x86_64_gnu 0.48.5",
|
|
538
|
+
"windows_x86_64_gnullvm 0.48.5",
|
|
539
|
+
"windows_x86_64_msvc 0.48.5",
|
|
540
|
+
]
|
|
541
|
+
|
|
542
|
+
[[package]]
|
|
543
|
+
name = "windows-targets"
|
|
544
|
+
version = "0.52.5"
|
|
545
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
546
|
+
checksum = "6f0713a46559409d202e70e28227288446bf7841d3211583a4b53e3f6d96e7eb"
|
|
547
|
+
dependencies = [
|
|
548
|
+
"windows_aarch64_gnullvm 0.52.5",
|
|
549
|
+
"windows_aarch64_msvc 0.52.5",
|
|
550
|
+
"windows_i686_gnu 0.52.5",
|
|
551
|
+
"windows_i686_gnullvm",
|
|
552
|
+
"windows_i686_msvc 0.52.5",
|
|
553
|
+
"windows_x86_64_gnu 0.52.5",
|
|
554
|
+
"windows_x86_64_gnullvm 0.52.5",
|
|
555
|
+
"windows_x86_64_msvc 0.52.5",
|
|
556
|
+
]
|
|
557
|
+
|
|
558
|
+
[[package]]
|
|
559
|
+
name = "windows_aarch64_gnullvm"
|
|
560
|
+
version = "0.48.5"
|
|
561
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
562
|
+
checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8"
|
|
563
|
+
|
|
564
|
+
[[package]]
|
|
565
|
+
name = "windows_aarch64_gnullvm"
|
|
566
|
+
version = "0.52.5"
|
|
567
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
568
|
+
checksum = "7088eed71e8b8dda258ecc8bac5fb1153c5cffaf2578fc8ff5d61e23578d3263"
|
|
569
|
+
|
|
570
|
+
[[package]]
|
|
571
|
+
name = "windows_aarch64_msvc"
|
|
572
|
+
version = "0.48.5"
|
|
573
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
574
|
+
checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc"
|
|
575
|
+
|
|
576
|
+
[[package]]
|
|
577
|
+
name = "windows_aarch64_msvc"
|
|
578
|
+
version = "0.52.5"
|
|
579
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
580
|
+
checksum = "9985fd1504e250c615ca5f281c3f7a6da76213ebd5ccc9561496568a2752afb6"
|
|
581
|
+
|
|
582
|
+
[[package]]
|
|
583
|
+
name = "windows_i686_gnu"
|
|
584
|
+
version = "0.48.5"
|
|
585
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
586
|
+
checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e"
|
|
587
|
+
|
|
588
|
+
[[package]]
|
|
589
|
+
name = "windows_i686_gnu"
|
|
590
|
+
version = "0.52.5"
|
|
591
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
592
|
+
checksum = "88ba073cf16d5372720ec942a8ccbf61626074c6d4dd2e745299726ce8b89670"
|
|
593
|
+
|
|
594
|
+
[[package]]
|
|
595
|
+
name = "windows_i686_gnullvm"
|
|
596
|
+
version = "0.52.5"
|
|
597
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
598
|
+
checksum = "87f4261229030a858f36b459e748ae97545d6f1ec60e5e0d6a3d32e0dc232ee9"
|
|
599
|
+
|
|
600
|
+
[[package]]
|
|
601
|
+
name = "windows_i686_msvc"
|
|
602
|
+
version = "0.48.5"
|
|
603
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
604
|
+
checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406"
|
|
605
|
+
|
|
606
|
+
[[package]]
|
|
607
|
+
name = "windows_i686_msvc"
|
|
608
|
+
version = "0.52.5"
|
|
609
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
610
|
+
checksum = "db3c2bf3d13d5b658be73463284eaf12830ac9a26a90c717b7f771dfe97487bf"
|
|
611
|
+
|
|
612
|
+
[[package]]
|
|
613
|
+
name = "windows_x86_64_gnu"
|
|
614
|
+
version = "0.48.5"
|
|
615
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
616
|
+
checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e"
|
|
617
|
+
|
|
618
|
+
[[package]]
|
|
619
|
+
name = "windows_x86_64_gnu"
|
|
620
|
+
version = "0.52.5"
|
|
621
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
622
|
+
checksum = "4e4246f76bdeff09eb48875a0fd3e2af6aada79d409d33011886d3e1581517d9"
|
|
623
|
+
|
|
624
|
+
[[package]]
|
|
625
|
+
name = "windows_x86_64_gnullvm"
|
|
626
|
+
version = "0.48.5"
|
|
627
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
628
|
+
checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc"
|
|
629
|
+
|
|
630
|
+
[[package]]
|
|
631
|
+
name = "windows_x86_64_gnullvm"
|
|
632
|
+
version = "0.52.5"
|
|
633
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
634
|
+
checksum = "852298e482cd67c356ddd9570386e2862b5673c85bd5f88df9ab6802b334c596"
|
|
635
|
+
|
|
636
|
+
[[package]]
|
|
637
|
+
name = "windows_x86_64_msvc"
|
|
638
|
+
version = "0.48.5"
|
|
639
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
640
|
+
checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538"
|
|
641
|
+
|
|
642
|
+
[[package]]
|
|
643
|
+
name = "windows_x86_64_msvc"
|
|
644
|
+
version = "0.52.5"
|
|
645
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
646
|
+
checksum = "bec47e5bfd1bff0eeaf6d8b485cc1074891a197ab4225d504cb7a1ab88b02bf0"
|
|
647
|
+
|
|
648
|
+
[[package]]
|
|
649
|
+
name = "zerocopy"
|
|
650
|
+
version = "0.7.34"
|
|
651
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
652
|
+
checksum = "ae87e3fcd617500e5d106f0380cf7b77f3c6092aae37191433159dda23cfb087"
|
|
653
|
+
dependencies = [
|
|
654
|
+
"zerocopy-derive",
|
|
655
|
+
]
|
|
656
|
+
|
|
657
|
+
[[package]]
|
|
658
|
+
name = "zerocopy-derive"
|
|
659
|
+
version = "0.7.34"
|
|
660
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
661
|
+
checksum = "15e934569e47891f7d9411f1a451d947a60e000ab3bd24fbb970f000387d1b3b"
|
|
662
|
+
dependencies = [
|
|
663
|
+
"proc-macro2",
|
|
664
|
+
"quote",
|
|
665
|
+
"syn",
|
|
666
|
+
]
|
jiter-0.1.0/Cargo.toml
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
[workspace]
|
|
2
|
+
members = ["crates/jiter-python"]
|
|
3
|
+
resolver = "2"
|
|
4
|
+
|
|
5
|
+
[workspace.package]
|
|
6
|
+
authors = ["Samuel Colvin <samuel@pydantic.dev>"]
|
|
7
|
+
version = "0.3.0"
|
|
8
|
+
edition = "2021"
|
|
9
|
+
license = "MIT"
|
|
10
|
+
keywords = ["JSON", "parsing", "deserialization", "iter"]
|
|
11
|
+
categories = ["parser-implementations", "parsing"]
|
|
12
|
+
homepage = "https://github.com/pydantic/jiter/"
|
|
13
|
+
repository = "https://github.com/pydantic/jiter/"
|
|
14
|
+
|
|
15
|
+
[profile.bench]
|
|
16
|
+
debug = true
|
|
17
|
+
lto = true
|
|
18
|
+
opt-level = 3
|
|
19
|
+
codegen-units = 1
|
|
20
|
+
|
|
21
|
+
[profile.profiling]
|
|
22
|
+
inherits = "release"
|
|
23
|
+
debug = true
|
|
24
|
+
|
|
25
|
+
[workspace.dependencies]
|
|
26
|
+
pyo3 = { version = "0.21.0", default-features = false}
|