ruzip 0.2.0 → 0.2.1
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.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/.gitlab-ci.yml +3 -1
- data/CHANGELOG.md +4 -1
- data/ext/Cargo.lock +288 -256
- data/ext/Cargo.toml +2 -2
- data/ext/src/lib.rs +18 -30
- data/ruzip.gemspec +2 -0
- data/test/test_package.rb +2 -7
- metadata +30 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 758585b6a1cde1090fc03b6745059dd7558c7816ec9e297ffe8e671ea531e364
|
|
4
|
+
data.tar.gz: 6d4f5b3aa6c10be28bce83bb18452180a3450da050b71a99f28a5871e28b580e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 60ba2d2dd7c91b7ec5d17d4da55b02bf420e933f0adc5fd25954011313566a4a1bf70cdcb815404f67e806710e526b769c1eae4ed696ae38ce46a413726f46df
|
|
7
|
+
data.tar.gz: 6a5b2bccfee9c2a467ad7c065287a6ae34761dc5e2e0fe6ee0bfbf2e421c17933f5d9c6a1adc51895cd83c6c445278288a02530b6e1755ec80658000289a0cbe
|
data/.gitignore
CHANGED
data/.gitlab-ci.yml
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
default:
|
|
2
|
-
image: ruby:4.0
|
|
2
|
+
image: ruby:4.0
|
|
3
3
|
|
|
4
4
|
before_script:
|
|
5
5
|
- apt-get update && apt-get install -y clang
|
|
@@ -9,5 +9,7 @@ default:
|
|
|
9
9
|
- bundle install
|
|
10
10
|
|
|
11
11
|
test:
|
|
12
|
+
variables:
|
|
13
|
+
RB_SYS_FORCE_INSTALL_RUST_TOOLCHAIN: 'true'
|
|
12
14
|
script:
|
|
13
15
|
- bundle exec rake test
|
data/CHANGELOG.md
CHANGED
data/ext/Cargo.lock
CHANGED
|
@@ -2,81 +2,65 @@
|
|
|
2
2
|
# It is not intended for manual editing.
|
|
3
3
|
version = 4
|
|
4
4
|
|
|
5
|
-
[[package]]
|
|
6
|
-
name = "adler2"
|
|
7
|
-
version = "2.0.1"
|
|
8
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
9
|
-
checksum = "320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa"
|
|
10
|
-
|
|
11
5
|
[[package]]
|
|
12
6
|
name = "aes"
|
|
13
|
-
version = "0.
|
|
7
|
+
version = "0.9.3"
|
|
14
8
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
15
|
-
checksum = "
|
|
9
|
+
checksum = "35f0f96ce78e38c3dc6d8948aa8163d06385be74000f3c7a95bf1eef35d3ea32"
|
|
16
10
|
dependencies = [
|
|
17
|
-
"cfg-if",
|
|
18
11
|
"cipher",
|
|
12
|
+
"cpubits",
|
|
19
13
|
"cpufeatures",
|
|
20
14
|
]
|
|
21
15
|
|
|
22
16
|
[[package]]
|
|
23
17
|
name = "aho-corasick"
|
|
24
|
-
version = "1.1.
|
|
18
|
+
version = "1.1.5"
|
|
25
19
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
26
|
-
checksum = "
|
|
20
|
+
checksum = "c982642fa9e8606056828ee9a8505737230110bb1099153c79efe865c59d12ba"
|
|
27
21
|
dependencies = [
|
|
28
22
|
"memchr",
|
|
29
23
|
]
|
|
30
24
|
|
|
31
|
-
[[package]]
|
|
32
|
-
name = "arbitrary"
|
|
33
|
-
version = "1.4.2"
|
|
34
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
35
|
-
checksum = "c3d036a3c4ab069c7b410a2ce876bd74808d2d0888a82667669f8e783a898bf1"
|
|
36
|
-
dependencies = [
|
|
37
|
-
"derive_arbitrary",
|
|
38
|
-
]
|
|
39
|
-
|
|
40
25
|
[[package]]
|
|
41
26
|
name = "bindgen"
|
|
42
|
-
version = "0.
|
|
27
|
+
version = "0.72.1"
|
|
43
28
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
44
|
-
checksum = "
|
|
29
|
+
checksum = "993776b509cfb49c750f11b8f07a46fa23e0a1386ffc01fb1e7d343efc387895"
|
|
45
30
|
dependencies = [
|
|
46
31
|
"bitflags",
|
|
47
32
|
"cexpr",
|
|
48
33
|
"clang-sys",
|
|
49
34
|
"itertools",
|
|
50
|
-
"lazy_static",
|
|
51
|
-
"lazycell",
|
|
52
35
|
"proc-macro2",
|
|
53
36
|
"quote",
|
|
54
37
|
"regex",
|
|
55
38
|
"rustc-hash",
|
|
56
|
-
"shlex",
|
|
57
|
-
"syn",
|
|
39
|
+
"shlex 1.3.0",
|
|
40
|
+
"syn 2.0.119",
|
|
58
41
|
]
|
|
59
42
|
|
|
60
43
|
[[package]]
|
|
61
44
|
name = "bitflags"
|
|
62
|
-
version = "2.
|
|
45
|
+
version = "2.13.2"
|
|
63
46
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
64
|
-
checksum = "
|
|
47
|
+
checksum = "3ded4057c258ba199e2d26386d3af3780957ecaee6c4ef4041c6b4b8b97c0b06"
|
|
65
48
|
|
|
66
49
|
[[package]]
|
|
67
50
|
name = "block-buffer"
|
|
68
|
-
version = "0.
|
|
51
|
+
version = "0.12.1"
|
|
69
52
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
70
|
-
checksum = "
|
|
53
|
+
checksum = "d2f6c7dbe95a6ed67ad9f18e57daf93a2f034c524b99fd2b76d18fdfeb6660aa"
|
|
71
54
|
dependencies = [
|
|
72
|
-
"
|
|
55
|
+
"hybrid-array",
|
|
56
|
+
"zeroize",
|
|
73
57
|
]
|
|
74
58
|
|
|
75
59
|
[[package]]
|
|
76
60
|
name = "bumpalo"
|
|
77
|
-
version = "3.
|
|
61
|
+
version = "3.20.3"
|
|
78
62
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
79
|
-
checksum = "
|
|
63
|
+
checksum = "72f5acc6cb2ba439de613abc23857ec3d78374d8ed5ac84e9d11336e87da8649"
|
|
80
64
|
|
|
81
65
|
[[package]]
|
|
82
66
|
name = "bzip2"
|
|
@@ -89,14 +73,14 @@ dependencies = [
|
|
|
89
73
|
|
|
90
74
|
[[package]]
|
|
91
75
|
name = "cc"
|
|
92
|
-
version = "1.
|
|
76
|
+
version = "1.4.6"
|
|
93
77
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
94
|
-
checksum = "
|
|
78
|
+
checksum = "a3eb0f42d6c360dc3f8a821f6bf2fdea7f72bfd36b3076eb0e6d1e9e0752fff4"
|
|
95
79
|
dependencies = [
|
|
96
80
|
"find-msvc-tools",
|
|
97
81
|
"jobserver",
|
|
98
82
|
"libc",
|
|
99
|
-
"shlex",
|
|
83
|
+
"shlex 2.0.1",
|
|
100
84
|
]
|
|
101
85
|
|
|
102
86
|
[[package]]
|
|
@@ -110,15 +94,15 @@ dependencies = [
|
|
|
110
94
|
|
|
111
95
|
[[package]]
|
|
112
96
|
name = "cfg-if"
|
|
113
|
-
version = "1.0.
|
|
97
|
+
version = "1.0.5"
|
|
114
98
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
115
|
-
checksum = "
|
|
99
|
+
checksum = "4e7648175b45a9a48536d676f68d918270699102aa8dab5496df06904c914600"
|
|
116
100
|
|
|
117
101
|
[[package]]
|
|
118
102
|
name = "cipher"
|
|
119
|
-
version = "0.
|
|
103
|
+
version = "0.5.2"
|
|
120
104
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
121
|
-
checksum = "
|
|
105
|
+
checksum = "e8cf2a2c93cd704877c0858356ed03480ff301ee950b43f1cbe4573b088bfa6c"
|
|
122
106
|
dependencies = [
|
|
123
107
|
"crypto-common",
|
|
124
108
|
"inout",
|
|
@@ -126,9 +110,9 @@ dependencies = [
|
|
|
126
110
|
|
|
127
111
|
[[package]]
|
|
128
112
|
name = "clang-sys"
|
|
129
|
-
version = "1.
|
|
113
|
+
version = "1.9.1"
|
|
130
114
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
131
|
-
checksum = "
|
|
115
|
+
checksum = "157a8ba7b480713b56f4c09fd13fc3e0a22a5dfab8097ba61cbc5feef950788a"
|
|
132
116
|
dependencies = [
|
|
133
117
|
"glob",
|
|
134
118
|
"libc",
|
|
@@ -136,96 +120,95 @@ dependencies = [
|
|
|
136
120
|
]
|
|
137
121
|
|
|
138
122
|
[[package]]
|
|
139
|
-
name = "
|
|
140
|
-
version = "0.
|
|
123
|
+
name = "cmov"
|
|
124
|
+
version = "0.5.4"
|
|
141
125
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
142
|
-
checksum = "
|
|
126
|
+
checksum = "0c9ea0ac24bc397ab3c98583a3c9ba74fa56b09a4449bbe172b9b1ddb016027a"
|
|
143
127
|
|
|
144
128
|
[[package]]
|
|
145
|
-
name = "
|
|
146
|
-
version = "0.2
|
|
129
|
+
name = "const-oid"
|
|
130
|
+
version = "0.10.2"
|
|
147
131
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
148
|
-
checksum = "
|
|
149
|
-
dependencies = [
|
|
150
|
-
"libc",
|
|
151
|
-
]
|
|
132
|
+
checksum = "a6ef517f0926dd24a1582492c791b6a4818a4d94e789a334894aa15b0d12f55c"
|
|
152
133
|
|
|
153
134
|
[[package]]
|
|
154
|
-
name = "
|
|
155
|
-
version = "
|
|
135
|
+
name = "constant_time_eq"
|
|
136
|
+
version = "0.4.2"
|
|
156
137
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
157
|
-
checksum = "
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
138
|
+
checksum = "3d52eff69cd5e647efe296129160853a42795992097e8af39800e1060caeea9b"
|
|
139
|
+
|
|
140
|
+
[[package]]
|
|
141
|
+
name = "cpubits"
|
|
142
|
+
version = "0.1.1"
|
|
143
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
144
|
+
checksum = "15b85f9c39137c3a891689859392b1bd49812121d0d61c9caf00d46ed5ce06ae"
|
|
161
145
|
|
|
162
146
|
[[package]]
|
|
163
|
-
name = "
|
|
164
|
-
version = "
|
|
147
|
+
name = "cpufeatures"
|
|
148
|
+
version = "0.3.1"
|
|
165
149
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
166
|
-
checksum = "
|
|
150
|
+
checksum = "5ca28b0ae3115b884660db4118d803791fd6756b6e88f39c0f3f7859060d7566"
|
|
151
|
+
dependencies = [
|
|
152
|
+
"libc",
|
|
153
|
+
]
|
|
167
154
|
|
|
168
155
|
[[package]]
|
|
169
156
|
name = "crc32fast"
|
|
170
|
-
version = "1.5.
|
|
157
|
+
version = "1.5.2"
|
|
171
158
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
172
|
-
checksum = "
|
|
159
|
+
checksum = "01a7799fd6b852db0e61728dde9a204c423b44d689dbd432522543614b490e78"
|
|
173
160
|
dependencies = [
|
|
174
161
|
"cfg-if",
|
|
175
162
|
]
|
|
176
163
|
|
|
177
164
|
[[package]]
|
|
178
165
|
name = "crypto-common"
|
|
179
|
-
version = "0.
|
|
166
|
+
version = "0.2.2"
|
|
180
167
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
181
|
-
checksum = "
|
|
168
|
+
checksum = "ce6e4c961d6cd6c9a86db418387425e8bdeaf05b3c8bc1411e6dca4c252f1453"
|
|
182
169
|
dependencies = [
|
|
183
|
-
"
|
|
184
|
-
"typenum",
|
|
170
|
+
"hybrid-array",
|
|
185
171
|
]
|
|
186
172
|
|
|
187
173
|
[[package]]
|
|
188
|
-
name = "
|
|
189
|
-
version = "0.
|
|
174
|
+
name = "ctutils"
|
|
175
|
+
version = "0.4.2"
|
|
190
176
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
191
|
-
checksum = "
|
|
177
|
+
checksum = "7d5515a3834141de9eafb9717ad39eea8247b5674e6066c404e8c4b365d2a29e"
|
|
178
|
+
dependencies = [
|
|
179
|
+
"cmov",
|
|
180
|
+
]
|
|
192
181
|
|
|
193
182
|
[[package]]
|
|
194
|
-
name = "
|
|
195
|
-
version = "0.
|
|
183
|
+
name = "deflate64"
|
|
184
|
+
version = "0.1.12"
|
|
196
185
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
197
|
-
checksum = "
|
|
198
|
-
dependencies = [
|
|
199
|
-
"powerfmt",
|
|
200
|
-
]
|
|
186
|
+
checksum = "ac6b926516df9c60bfa16e107b21086399f8285a44ca9711344b9e553c5146e2"
|
|
201
187
|
|
|
202
188
|
[[package]]
|
|
203
|
-
name = "
|
|
204
|
-
version = "
|
|
189
|
+
name = "deranged"
|
|
190
|
+
version = "0.5.8"
|
|
205
191
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
206
|
-
checksum = "
|
|
207
|
-
dependencies = [
|
|
208
|
-
"proc-macro2",
|
|
209
|
-
"quote",
|
|
210
|
-
"syn",
|
|
211
|
-
]
|
|
192
|
+
checksum = "7cd812cc2bc1d69d4764bd80df88b4317eaef9e773c75226407d9bc0876b211c"
|
|
212
193
|
|
|
213
194
|
[[package]]
|
|
214
195
|
name = "digest"
|
|
215
|
-
version = "0.
|
|
196
|
+
version = "0.11.3"
|
|
216
197
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
217
|
-
checksum = "
|
|
198
|
+
checksum = "f1dd6dbb5841937940781866fa1281a1ff7bd3bf827091440879f9994983d5c2"
|
|
218
199
|
dependencies = [
|
|
219
200
|
"block-buffer",
|
|
201
|
+
"const-oid",
|
|
220
202
|
"crypto-common",
|
|
221
|
-
"
|
|
203
|
+
"ctutils",
|
|
204
|
+
"zeroize",
|
|
222
205
|
]
|
|
223
206
|
|
|
224
207
|
[[package]]
|
|
225
208
|
name = "either"
|
|
226
|
-
version = "1.
|
|
209
|
+
version = "1.18.0"
|
|
227
210
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
228
|
-
checksum = "
|
|
211
|
+
checksum = "252afb9ae5eaa683babdc6a068b3f5726eb19e05070c731f9b2a23a7c3e8ed34"
|
|
229
212
|
|
|
230
213
|
[[package]]
|
|
231
214
|
name = "equivalent"
|
|
@@ -235,69 +218,91 @@ checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f"
|
|
|
235
218
|
|
|
236
219
|
[[package]]
|
|
237
220
|
name = "find-msvc-tools"
|
|
238
|
-
version = "0.1.
|
|
221
|
+
version = "0.1.12"
|
|
239
222
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
240
|
-
checksum = "
|
|
223
|
+
checksum = "3e0f1c7c3a72c66fd80abe965175f7523475c0489a87d3ff9d6e8c87d87a9d2d"
|
|
241
224
|
|
|
242
225
|
[[package]]
|
|
243
226
|
name = "flate2"
|
|
244
|
-
version = "1.1.
|
|
227
|
+
version = "1.1.10"
|
|
245
228
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
246
|
-
checksum = "
|
|
229
|
+
checksum = "6e634e2e0ebac1ee034020da1ca582e17ffe4e0f5e985823721e168928136dcb"
|
|
247
230
|
dependencies = [
|
|
248
|
-
"
|
|
249
|
-
"libz-rs-sys",
|
|
250
|
-
"miniz_oxide",
|
|
231
|
+
"zlib-rs",
|
|
251
232
|
]
|
|
252
233
|
|
|
253
234
|
[[package]]
|
|
254
|
-
name = "
|
|
255
|
-
version = "0.
|
|
235
|
+
name = "futures-core"
|
|
236
|
+
version = "0.3.34"
|
|
237
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
238
|
+
checksum = "92d699e522242e69e3003b94ecc1f960f3a5e015aa7c5d7486e65ad01dd94f5e"
|
|
239
|
+
|
|
240
|
+
[[package]]
|
|
241
|
+
name = "futures-task"
|
|
242
|
+
version = "0.3.34"
|
|
256
243
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
257
|
-
checksum = "
|
|
244
|
+
checksum = "cd417de3d1d015fc3bfd2b1ea46dfc7bab72ef86f1cc7cc9c78e728b34a6d1fd"
|
|
245
|
+
|
|
246
|
+
[[package]]
|
|
247
|
+
name = "futures-util"
|
|
248
|
+
version = "0.3.34"
|
|
249
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
250
|
+
checksum = "0d50a92467f8ba5dd6e3ee5d4bd04d73ab2e4e1c44474a0674821dfce14b79bc"
|
|
258
251
|
dependencies = [
|
|
259
|
-
"
|
|
260
|
-
"
|
|
252
|
+
"futures-core",
|
|
253
|
+
"futures-task",
|
|
254
|
+
"pin-project-lite",
|
|
255
|
+
"slab",
|
|
261
256
|
]
|
|
262
257
|
|
|
263
258
|
[[package]]
|
|
264
259
|
name = "getrandom"
|
|
265
|
-
version = "0.3
|
|
260
|
+
version = "0.4.3"
|
|
266
261
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
267
|
-
checksum = "
|
|
262
|
+
checksum = "300e883d756b2e4ec94e02791f39b04b522276138852cfc41d9fb7e904106099"
|
|
268
263
|
dependencies = [
|
|
269
264
|
"cfg-if",
|
|
265
|
+
"js-sys",
|
|
270
266
|
"libc",
|
|
271
267
|
"r-efi",
|
|
272
|
-
"
|
|
268
|
+
"wasm-bindgen",
|
|
273
269
|
]
|
|
274
270
|
|
|
275
271
|
[[package]]
|
|
276
272
|
name = "glob"
|
|
277
|
-
version = "0.3.
|
|
273
|
+
version = "0.3.4"
|
|
278
274
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
279
|
-
checksum = "
|
|
275
|
+
checksum = "e4eba85ea1d0a966a983acd07deee566e67395d2d96b6fb39e62b5a833f1eb0b"
|
|
280
276
|
|
|
281
277
|
[[package]]
|
|
282
278
|
name = "hashbrown"
|
|
283
|
-
version = "0.
|
|
279
|
+
version = "0.17.1"
|
|
284
280
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
285
|
-
checksum = "
|
|
281
|
+
checksum = "ed5909b6e89a2db4456e54cd5f673791d7eca6732202bbf2a9cc504fe2f9b84a"
|
|
286
282
|
|
|
287
283
|
[[package]]
|
|
288
284
|
name = "hmac"
|
|
289
|
-
version = "0.
|
|
285
|
+
version = "0.13.0"
|
|
290
286
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
291
|
-
checksum = "
|
|
287
|
+
checksum = "6303bc9732ae41b04cb554b844a762b4115a61bfaa81e3e83050991eeb56863f"
|
|
292
288
|
dependencies = [
|
|
293
289
|
"digest",
|
|
294
290
|
]
|
|
295
291
|
|
|
292
|
+
[[package]]
|
|
293
|
+
name = "hybrid-array"
|
|
294
|
+
version = "0.4.15"
|
|
295
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
296
|
+
checksum = "27f864f10dfb56725ce5ce5472bc52252c8f93a4ab86327122cebf62c5f59a17"
|
|
297
|
+
dependencies = [
|
|
298
|
+
"typenum",
|
|
299
|
+
]
|
|
300
|
+
|
|
296
301
|
[[package]]
|
|
297
302
|
name = "indexmap"
|
|
298
|
-
version = "2.
|
|
303
|
+
version = "2.14.2"
|
|
299
304
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
300
|
-
checksum = "
|
|
305
|
+
checksum = "cc4e190f5d26ca7051642629da2c52fc03bde85a03197c99408dcd291734c855"
|
|
301
306
|
dependencies = [
|
|
302
307
|
"equivalent",
|
|
303
308
|
"hashbrown",
|
|
@@ -305,55 +310,60 @@ dependencies = [
|
|
|
305
310
|
|
|
306
311
|
[[package]]
|
|
307
312
|
name = "inout"
|
|
308
|
-
version = "0.
|
|
313
|
+
version = "0.2.2"
|
|
309
314
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
310
|
-
checksum = "
|
|
315
|
+
checksum = "4250ce6452e92010fdf7268ccc5d14faa80bb12fc741938534c58f16804e03c7"
|
|
311
316
|
dependencies = [
|
|
312
|
-
"
|
|
317
|
+
"hybrid-array",
|
|
313
318
|
]
|
|
314
319
|
|
|
315
320
|
[[package]]
|
|
316
321
|
name = "itertools"
|
|
317
|
-
version = "0.
|
|
322
|
+
version = "0.13.0"
|
|
318
323
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
319
|
-
checksum = "
|
|
324
|
+
checksum = "413ee7dfc52ee1a4949ceeb7dbc8a33f2d6c088194d9f922fb8318faf1f01186"
|
|
320
325
|
dependencies = [
|
|
321
326
|
"either",
|
|
322
327
|
]
|
|
323
328
|
|
|
324
329
|
[[package]]
|
|
325
330
|
name = "jobserver"
|
|
326
|
-
version = "0.1.
|
|
331
|
+
version = "0.1.35"
|
|
327
332
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
328
|
-
checksum = "
|
|
333
|
+
checksum = "1c00acbd29eabad4a2392fa0e921c874934dbbf4194312ad20f04a0ed67a3cb3"
|
|
329
334
|
dependencies = [
|
|
330
335
|
"getrandom",
|
|
331
336
|
"libc",
|
|
332
337
|
]
|
|
333
338
|
|
|
334
339
|
[[package]]
|
|
335
|
-
name = "
|
|
336
|
-
version = "
|
|
340
|
+
name = "js-sys"
|
|
341
|
+
version = "0.3.105"
|
|
337
342
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
338
|
-
checksum = "
|
|
343
|
+
checksum = "ce57d20d1ea864ce2ac172ab472d409214f4fd359f0b2a2775abdf522e2af99e"
|
|
344
|
+
dependencies = [
|
|
345
|
+
"cfg-if",
|
|
346
|
+
"futures-util",
|
|
347
|
+
"wasm-bindgen",
|
|
348
|
+
]
|
|
339
349
|
|
|
340
350
|
[[package]]
|
|
341
|
-
name = "
|
|
342
|
-
version = "1.
|
|
351
|
+
name = "lazy_static"
|
|
352
|
+
version = "1.5.0"
|
|
343
353
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
344
|
-
checksum = "
|
|
354
|
+
checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe"
|
|
345
355
|
|
|
346
356
|
[[package]]
|
|
347
357
|
name = "libbz2-rs-sys"
|
|
348
|
-
version = "0.2.
|
|
358
|
+
version = "0.2.5"
|
|
349
359
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
350
|
-
checksum = "
|
|
360
|
+
checksum = "34b357333733e8260735ba5894eb928c02ecc69c78715f01a8019e7fa7f2db4c"
|
|
351
361
|
|
|
352
362
|
[[package]]
|
|
353
363
|
name = "libc"
|
|
354
|
-
version = "0.2.
|
|
364
|
+
version = "0.2.189"
|
|
355
365
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
356
|
-
checksum = "
|
|
366
|
+
checksum = "3eaf3ede3fee6db1a4c2ee091bf8a8b4dccdc6d17f656fb07896ee72867612f2"
|
|
357
367
|
|
|
358
368
|
[[package]]
|
|
359
369
|
name = "libloading"
|
|
@@ -365,28 +375,18 @@ dependencies = [
|
|
|
365
375
|
"windows-link",
|
|
366
376
|
]
|
|
367
377
|
|
|
368
|
-
[[package]]
|
|
369
|
-
name = "libz-rs-sys"
|
|
370
|
-
version = "0.5.5"
|
|
371
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
372
|
-
checksum = "c10501e7805cee23da17c7790e59df2870c0d4043ec6d03f67d31e2b53e77415"
|
|
373
|
-
dependencies = [
|
|
374
|
-
"zlib-rs",
|
|
375
|
-
]
|
|
376
|
-
|
|
377
378
|
[[package]]
|
|
378
379
|
name = "log"
|
|
379
|
-
version = "0.4.
|
|
380
|
+
version = "0.4.34"
|
|
380
381
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
381
|
-
checksum = "
|
|
382
|
+
checksum = "f9f8bd3e56ce4dfc153cf470fffbfa98c7620958b312ca5c3a4b8d5181fd13c6"
|
|
382
383
|
|
|
383
384
|
[[package]]
|
|
384
385
|
name = "lzma-rust2"
|
|
385
|
-
version = "0.
|
|
386
|
+
version = "0.16.5"
|
|
386
387
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
387
|
-
checksum = "
|
|
388
|
+
checksum = "ca93e534d1142d1d0dcca6d25fe302508a5dfb40b302802904577725ea0b695b"
|
|
388
389
|
dependencies = [
|
|
389
|
-
"crc",
|
|
390
390
|
"sha2",
|
|
391
391
|
]
|
|
392
392
|
|
|
@@ -410,14 +410,14 @@ checksum = "47607461fd8e1513cb4f2076c197d8092d921a1ea75bd08af97398f593751892"
|
|
|
410
410
|
dependencies = [
|
|
411
411
|
"proc-macro2",
|
|
412
412
|
"quote",
|
|
413
|
-
"syn",
|
|
413
|
+
"syn 2.0.119",
|
|
414
414
|
]
|
|
415
415
|
|
|
416
416
|
[[package]]
|
|
417
417
|
name = "memchr"
|
|
418
|
-
version = "2.
|
|
418
|
+
version = "2.8.3"
|
|
419
419
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
420
|
-
checksum = "
|
|
420
|
+
checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98"
|
|
421
421
|
|
|
422
422
|
[[package]]
|
|
423
423
|
name = "minimal-lexical"
|
|
@@ -425,16 +425,6 @@ version = "0.2.1"
|
|
|
425
425
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
426
426
|
checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a"
|
|
427
427
|
|
|
428
|
-
[[package]]
|
|
429
|
-
name = "miniz_oxide"
|
|
430
|
-
version = "0.8.9"
|
|
431
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
432
|
-
checksum = "1fa76a2c86f704bdb222d66965fb3d63269ce38518b83cb0575fca855ebb6316"
|
|
433
|
-
dependencies = [
|
|
434
|
-
"adler2",
|
|
435
|
-
"simd-adler32",
|
|
436
|
-
]
|
|
437
|
-
|
|
438
428
|
[[package]]
|
|
439
429
|
name = "nom"
|
|
440
430
|
version = "7.1.3"
|
|
@@ -447,25 +437,37 @@ dependencies = [
|
|
|
447
437
|
|
|
448
438
|
[[package]]
|
|
449
439
|
name = "num-conv"
|
|
450
|
-
version = "0.
|
|
440
|
+
version = "0.2.2"
|
|
451
441
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
452
|
-
checksum = "
|
|
442
|
+
checksum = "521739c6d2bac4aa25192232afe6841231376b2b26d4d9fae5ecf8ca5772e441"
|
|
443
|
+
|
|
444
|
+
[[package]]
|
|
445
|
+
name = "once_cell"
|
|
446
|
+
version = "1.21.4"
|
|
447
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
448
|
+
checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50"
|
|
453
449
|
|
|
454
450
|
[[package]]
|
|
455
451
|
name = "pbkdf2"
|
|
456
|
-
version = "0.
|
|
452
|
+
version = "0.13.0"
|
|
457
453
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
458
|
-
checksum = "
|
|
454
|
+
checksum = "112d82ceb8c5bf524d9af484d4e4970c9fd5a0cc15ba14ad93dccd28873b0629"
|
|
459
455
|
dependencies = [
|
|
460
456
|
"digest",
|
|
461
457
|
"hmac",
|
|
462
458
|
]
|
|
463
459
|
|
|
460
|
+
[[package]]
|
|
461
|
+
name = "pin-project-lite"
|
|
462
|
+
version = "0.2.17"
|
|
463
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
464
|
+
checksum = "a89322df9ebe1c1578d689c92318e070967d1042b512afbe49518723f4e6d5cd"
|
|
465
|
+
|
|
464
466
|
[[package]]
|
|
465
467
|
name = "pkg-config"
|
|
466
|
-
version = "0.3.
|
|
468
|
+
version = "0.3.34"
|
|
467
469
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
468
|
-
checksum = "
|
|
470
|
+
checksum = "f6b464fbc74e149a392436b17d523f769e057cb6877f6a5c4618bc6f11800548"
|
|
469
471
|
|
|
470
472
|
[[package]]
|
|
471
473
|
name = "powerfmt"
|
|
@@ -475,48 +477,48 @@ checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391"
|
|
|
475
477
|
|
|
476
478
|
[[package]]
|
|
477
479
|
name = "ppmd-rust"
|
|
478
|
-
version = "1.
|
|
480
|
+
version = "1.5.0"
|
|
479
481
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
480
|
-
checksum = "
|
|
482
|
+
checksum = "196a7c80b9a7652aba7cc070827516c2abe4ccdf53d128e1944003cf5726cff1"
|
|
481
483
|
|
|
482
484
|
[[package]]
|
|
483
485
|
name = "proc-macro2"
|
|
484
|
-
version = "1.0.
|
|
486
|
+
version = "1.0.107"
|
|
485
487
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
486
|
-
checksum = "
|
|
488
|
+
checksum = "985e7ec9bb745e6ce6535b544d84d6cd6f7ad8bd711c398938ae983b91a766d9"
|
|
487
489
|
dependencies = [
|
|
488
490
|
"unicode-ident",
|
|
489
491
|
]
|
|
490
492
|
|
|
491
493
|
[[package]]
|
|
492
494
|
name = "quote"
|
|
493
|
-
version = "1.0.
|
|
495
|
+
version = "1.0.47"
|
|
494
496
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
495
|
-
checksum = "
|
|
497
|
+
checksum = "1fbf4db142a473a8d80c26bbf18454ed458bf8d26c8219c331daecfdbd079001"
|
|
496
498
|
dependencies = [
|
|
497
499
|
"proc-macro2",
|
|
498
500
|
]
|
|
499
501
|
|
|
500
502
|
[[package]]
|
|
501
503
|
name = "r-efi"
|
|
502
|
-
version = "
|
|
504
|
+
version = "6.0.0"
|
|
503
505
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
504
|
-
checksum = "
|
|
506
|
+
checksum = "f8dcc9c7d52a811697d2151c701e0d08956f92b0e24136cf4cf27b57a6a0d9bf"
|
|
505
507
|
|
|
506
508
|
[[package]]
|
|
507
509
|
name = "rb-sys"
|
|
508
|
-
version = "0.9.
|
|
510
|
+
version = "0.9.130"
|
|
509
511
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
510
|
-
checksum = "
|
|
512
|
+
checksum = "02faf625bb10ba893e3ae620f19c9fb1b5f8fcae0fe4eb86bb3f2230fad75edb"
|
|
511
513
|
dependencies = [
|
|
512
514
|
"rb-sys-build",
|
|
513
515
|
]
|
|
514
516
|
|
|
515
517
|
[[package]]
|
|
516
518
|
name = "rb-sys-build"
|
|
517
|
-
version = "0.9.
|
|
519
|
+
version = "0.9.130"
|
|
518
520
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
519
|
-
checksum = "
|
|
521
|
+
checksum = "05be6f9c86fe5482808162826f6c047d093b3670582296c770de1d94f8066694"
|
|
520
522
|
dependencies = [
|
|
521
523
|
"bindgen",
|
|
522
524
|
"lazy_static",
|
|
@@ -524,20 +526,20 @@ dependencies = [
|
|
|
524
526
|
"quote",
|
|
525
527
|
"regex",
|
|
526
528
|
"shell-words",
|
|
527
|
-
"syn",
|
|
529
|
+
"syn 2.0.119",
|
|
528
530
|
]
|
|
529
531
|
|
|
530
532
|
[[package]]
|
|
531
533
|
name = "rb-sys-env"
|
|
532
|
-
version = "0.2.
|
|
534
|
+
version = "0.2.3"
|
|
533
535
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
534
|
-
checksum = "
|
|
536
|
+
checksum = "cca7ad6a7e21e72151d56fe2495a259b5670e204c3adac41ee7ef676ea08117a"
|
|
535
537
|
|
|
536
538
|
[[package]]
|
|
537
539
|
name = "regex"
|
|
538
|
-
version = "1.
|
|
540
|
+
version = "1.13.1"
|
|
539
541
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
540
|
-
checksum = "
|
|
542
|
+
checksum = "f020237b6c8eed93db2e2cb53c00c60a8e1bc73da7d073199a1180401450218d"
|
|
541
543
|
dependencies = [
|
|
542
544
|
"aho-corasick",
|
|
543
545
|
"memchr",
|
|
@@ -547,9 +549,9 @@ dependencies = [
|
|
|
547
549
|
|
|
548
550
|
[[package]]
|
|
549
551
|
name = "regex-automata"
|
|
550
|
-
version = "0.4.
|
|
552
|
+
version = "0.4.18"
|
|
551
553
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
552
|
-
checksum = "
|
|
554
|
+
checksum = "ad8553b9b26413251cbf30e620595c7a41b3887f03da04579c0e6b0d6a06b4b2"
|
|
553
555
|
dependencies = [
|
|
554
556
|
"aho-corasick",
|
|
555
557
|
"memchr",
|
|
@@ -558,19 +560,25 @@ dependencies = [
|
|
|
558
560
|
|
|
559
561
|
[[package]]
|
|
560
562
|
name = "regex-syntax"
|
|
561
|
-
version = "0.8.
|
|
563
|
+
version = "0.8.11"
|
|
562
564
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
563
|
-
checksum = "
|
|
565
|
+
checksum = "d6f6ff9a378485b298a5286656da665ba74413d36db0979633275d2e708145d4"
|
|
564
566
|
|
|
565
567
|
[[package]]
|
|
566
568
|
name = "rustc-hash"
|
|
567
|
-
version = "
|
|
569
|
+
version = "2.1.3"
|
|
568
570
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
569
|
-
checksum = "
|
|
571
|
+
checksum = "6b1e7f9a428571be2dc5bc0505c13fb6bf936822b894ec87abf8a08a4e51742d"
|
|
572
|
+
|
|
573
|
+
[[package]]
|
|
574
|
+
name = "rustversion"
|
|
575
|
+
version = "1.0.23"
|
|
576
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
577
|
+
checksum = "cf54715a573b99ac80df0bc206da022bcd442c974952c7b9720069370852e21f"
|
|
570
578
|
|
|
571
579
|
[[package]]
|
|
572
580
|
name = "ruzip"
|
|
573
|
-
version = "0.2.
|
|
581
|
+
version = "0.2.1"
|
|
574
582
|
dependencies = [
|
|
575
583
|
"magnus",
|
|
576
584
|
"rb-sys",
|
|
@@ -583,40 +591,31 @@ version = "0.3.6"
|
|
|
583
591
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
584
592
|
checksum = "1bc711410fbe7399f390ca1c3b60ad0f53f80e95c5eb935e52268a0e2cd49acc"
|
|
585
593
|
|
|
586
|
-
[[package]]
|
|
587
|
-
name = "serde"
|
|
588
|
-
version = "1.0.228"
|
|
589
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
590
|
-
checksum = "9a8e94ea7f378bd32cbbd37198a4a91436180c5bb472411e48b5ec2e2124ae9e"
|
|
591
|
-
dependencies = [
|
|
592
|
-
"serde_core",
|
|
593
|
-
]
|
|
594
|
-
|
|
595
594
|
[[package]]
|
|
596
595
|
name = "serde_core"
|
|
597
|
-
version = "1.0.
|
|
596
|
+
version = "1.0.229"
|
|
598
597
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
599
|
-
checksum = "
|
|
598
|
+
checksum = "67dca2c9c51e58a4791a4b1ed58308b39c64224d349a935ab5039aa360942a48"
|
|
600
599
|
dependencies = [
|
|
601
600
|
"serde_derive",
|
|
602
601
|
]
|
|
603
602
|
|
|
604
603
|
[[package]]
|
|
605
604
|
name = "serde_derive"
|
|
606
|
-
version = "1.0.
|
|
605
|
+
version = "1.0.229"
|
|
607
606
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
608
|
-
checksum = "
|
|
607
|
+
checksum = "e7a5d71263a5a7d47b41f6b3f06ba276f10cc18b0931f1799f710578e2309348"
|
|
609
608
|
dependencies = [
|
|
610
609
|
"proc-macro2",
|
|
611
610
|
"quote",
|
|
612
|
-
"syn",
|
|
611
|
+
"syn 3.0.6",
|
|
613
612
|
]
|
|
614
613
|
|
|
615
614
|
[[package]]
|
|
616
615
|
name = "sha1"
|
|
617
|
-
version = "0.
|
|
616
|
+
version = "0.11.0"
|
|
618
617
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
619
|
-
checksum = "
|
|
618
|
+
checksum = "aacc4cc499359472b4abe1bf11d0b12e688af9a805fa5e3016f9a386dc2d0214"
|
|
620
619
|
dependencies = [
|
|
621
620
|
"cfg-if",
|
|
622
621
|
"cpufeatures",
|
|
@@ -625,9 +624,9 @@ dependencies = [
|
|
|
625
624
|
|
|
626
625
|
[[package]]
|
|
627
626
|
name = "sha2"
|
|
628
|
-
version = "0.
|
|
627
|
+
version = "0.11.0"
|
|
629
628
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
630
|
-
checksum = "
|
|
629
|
+
checksum = "446ba717509524cb3f22f17ecc096f10f4822d76ab5c0b9822c5f9c284e825f4"
|
|
631
630
|
dependencies = [
|
|
632
631
|
"cfg-if",
|
|
633
632
|
"cpufeatures",
|
|
@@ -646,23 +645,40 @@ version = "1.3.0"
|
|
|
646
645
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
647
646
|
checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
|
|
648
647
|
|
|
648
|
+
[[package]]
|
|
649
|
+
name = "shlex"
|
|
650
|
+
version = "2.0.1"
|
|
651
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
652
|
+
checksum = "f8fadd59c855ef2080decdef8ff161eb6661b86933c9d82e5ba29dc602a55aba"
|
|
653
|
+
|
|
649
654
|
[[package]]
|
|
650
655
|
name = "simd-adler32"
|
|
651
|
-
version = "0.3.
|
|
656
|
+
version = "0.3.10"
|
|
652
657
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
653
|
-
checksum = "
|
|
658
|
+
checksum = "3a219298ac11a56ea9a6d2120044824d6f01aeb034955e7af7bc16858527deea"
|
|
654
659
|
|
|
655
660
|
[[package]]
|
|
656
|
-
name = "
|
|
657
|
-
version = "
|
|
661
|
+
name = "slab"
|
|
662
|
+
version = "0.4.12"
|
|
663
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
664
|
+
checksum = "0c790de23124f9ab44544d7ac05d60440adc586479ce501c1d6d7da3cd8c9cf5"
|
|
665
|
+
|
|
666
|
+
[[package]]
|
|
667
|
+
name = "syn"
|
|
668
|
+
version = "2.0.119"
|
|
658
669
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
659
|
-
checksum = "
|
|
670
|
+
checksum = "872831b642d1a07999a962a351ed35b955ea2cfc8f3862091e2a240a84f17297"
|
|
671
|
+
dependencies = [
|
|
672
|
+
"proc-macro2",
|
|
673
|
+
"quote",
|
|
674
|
+
"unicode-ident",
|
|
675
|
+
]
|
|
660
676
|
|
|
661
677
|
[[package]]
|
|
662
678
|
name = "syn"
|
|
663
|
-
version = "
|
|
679
|
+
version = "3.0.6"
|
|
664
680
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
665
|
-
checksum = "
|
|
681
|
+
checksum = "8593e8e72159ed2257d083c7a454a85cbf854f37a0966d8d483aff8c8a3ebcee"
|
|
666
682
|
dependencies = [
|
|
667
683
|
"proc-macro2",
|
|
668
684
|
"quote",
|
|
@@ -671,96 +687,111 @@ dependencies = [
|
|
|
671
687
|
|
|
672
688
|
[[package]]
|
|
673
689
|
name = "time"
|
|
674
|
-
version = "0.3.
|
|
690
|
+
version = "0.3.55"
|
|
675
691
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
676
|
-
checksum = "
|
|
692
|
+
checksum = "cdb87b95ec50ddfa440816d227a17b2ccbdda963a316a727fda0fc4334f7d134"
|
|
677
693
|
dependencies = [
|
|
678
694
|
"deranged",
|
|
695
|
+
"js-sys",
|
|
679
696
|
"num-conv",
|
|
680
697
|
"powerfmt",
|
|
681
|
-
"
|
|
698
|
+
"serde_core",
|
|
682
699
|
"time-core",
|
|
683
700
|
]
|
|
684
701
|
|
|
685
702
|
[[package]]
|
|
686
703
|
name = "time-core"
|
|
687
|
-
version = "0.1.
|
|
704
|
+
version = "0.1.9"
|
|
688
705
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
689
|
-
checksum = "
|
|
706
|
+
checksum = "9e1c906769ad99c88eaa54e728060edef082f8e358ff32030cb7c7d315e81109"
|
|
690
707
|
|
|
691
708
|
[[package]]
|
|
692
|
-
name = "
|
|
693
|
-
version = "
|
|
709
|
+
name = "typed-path"
|
|
710
|
+
version = "0.12.3"
|
|
694
711
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
695
|
-
checksum = "
|
|
712
|
+
checksum = "8e28f89b80c87b8fb0cf04ab448d5dd0dd0ade2f8891bae878de66a75a28600e"
|
|
696
713
|
|
|
697
714
|
[[package]]
|
|
698
|
-
name = "
|
|
699
|
-
version = "1.
|
|
715
|
+
name = "typenum"
|
|
716
|
+
version = "1.20.1"
|
|
700
717
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
701
|
-
checksum = "
|
|
718
|
+
checksum = "b6f5e870be6c3b371b77fe0ee0bafb859fa4964b4404c27de1d380043c4dda20"
|
|
702
719
|
|
|
703
720
|
[[package]]
|
|
704
|
-
name = "
|
|
705
|
-
version = "0.
|
|
721
|
+
name = "unicode-ident"
|
|
722
|
+
version = "1.0.26"
|
|
706
723
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
707
|
-
checksum = "
|
|
724
|
+
checksum = "d245f478577f809a851594d02313b640fb437e0bb33866753cff937863096954"
|
|
708
725
|
|
|
709
726
|
[[package]]
|
|
710
|
-
name = "
|
|
711
|
-
version = "
|
|
727
|
+
name = "wasm-bindgen"
|
|
728
|
+
version = "0.2.128"
|
|
712
729
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
713
|
-
checksum = "
|
|
730
|
+
checksum = "aecb87a33d3b0c5e3b7aa46336eaf486cffafbd281b195e4c8b80d50df2351bf"
|
|
714
731
|
dependencies = [
|
|
715
|
-
"
|
|
732
|
+
"cfg-if",
|
|
733
|
+
"once_cell",
|
|
734
|
+
"rustversion",
|
|
735
|
+
"wasm-bindgen-macro",
|
|
736
|
+
"wasm-bindgen-shared",
|
|
716
737
|
]
|
|
717
738
|
|
|
718
739
|
[[package]]
|
|
719
|
-
name = "
|
|
720
|
-
version = "0.2.
|
|
740
|
+
name = "wasm-bindgen-macro"
|
|
741
|
+
version = "0.2.128"
|
|
721
742
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
722
|
-
checksum = "
|
|
743
|
+
checksum = "a690d511e3c1a8b3a55e33511e3c2c00c78415cd23650f32b808627f5696b9ed"
|
|
744
|
+
dependencies = [
|
|
745
|
+
"quote",
|
|
746
|
+
"wasm-bindgen-macro-support",
|
|
747
|
+
]
|
|
723
748
|
|
|
724
749
|
[[package]]
|
|
725
|
-
name = "
|
|
726
|
-
version = "0.
|
|
750
|
+
name = "wasm-bindgen-macro-support"
|
|
751
|
+
version = "0.2.128"
|
|
727
752
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
728
|
-
checksum = "
|
|
753
|
+
checksum = "411e4887f0071ef2d2164a9d5fdf2d20efbef78fccd3a78b0c10a1dc5295e48a"
|
|
754
|
+
dependencies = [
|
|
755
|
+
"bumpalo",
|
|
756
|
+
"proc-macro2",
|
|
757
|
+
"quote",
|
|
758
|
+
"syn 3.0.6",
|
|
759
|
+
"wasm-bindgen-shared",
|
|
760
|
+
]
|
|
729
761
|
|
|
730
762
|
[[package]]
|
|
731
|
-
name = "
|
|
732
|
-
version = "
|
|
763
|
+
name = "wasm-bindgen-shared"
|
|
764
|
+
version = "0.2.128"
|
|
733
765
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
734
|
-
checksum = "
|
|
766
|
+
checksum = "81941cd78d0c92026c33e5e01312845a4cb1e9af3407f9134b100dd03144103e"
|
|
735
767
|
dependencies = [
|
|
736
|
-
"
|
|
768
|
+
"unicode-ident",
|
|
737
769
|
]
|
|
738
770
|
|
|
739
771
|
[[package]]
|
|
740
|
-
name = "
|
|
741
|
-
version = "
|
|
772
|
+
name = "windows-link"
|
|
773
|
+
version = "0.2.1"
|
|
774
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
775
|
+
checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5"
|
|
776
|
+
|
|
777
|
+
[[package]]
|
|
778
|
+
name = "zeroize"
|
|
779
|
+
version = "1.9.0"
|
|
742
780
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
743
|
-
checksum = "
|
|
744
|
-
dependencies = [
|
|
745
|
-
"proc-macro2",
|
|
746
|
-
"quote",
|
|
747
|
-
"syn",
|
|
748
|
-
]
|
|
781
|
+
checksum = "e13c156562582aa81c60cb29407084cdb54c4164760106ab78e6c5b0858cf64e"
|
|
749
782
|
|
|
750
783
|
[[package]]
|
|
751
784
|
name = "zip"
|
|
752
|
-
version = "
|
|
785
|
+
version = "8.6.0"
|
|
753
786
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
754
|
-
checksum = "
|
|
787
|
+
checksum = "2d04a6b5381502aa6087c94c669499eb1602eb9c5e8198e534de571f7154809b"
|
|
755
788
|
dependencies = [
|
|
756
789
|
"aes",
|
|
757
|
-
"arbitrary",
|
|
758
790
|
"bzip2",
|
|
759
791
|
"constant_time_eq",
|
|
760
792
|
"crc32fast",
|
|
761
793
|
"deflate64",
|
|
762
794
|
"flate2",
|
|
763
|
-
"generic-array",
|
|
764
795
|
"getrandom",
|
|
765
796
|
"hmac",
|
|
766
797
|
"indexmap",
|
|
@@ -770,6 +801,7 @@ dependencies = [
|
|
|
770
801
|
"ppmd-rust",
|
|
771
802
|
"sha1",
|
|
772
803
|
"time",
|
|
804
|
+
"typed-path",
|
|
773
805
|
"zeroize",
|
|
774
806
|
"zopfli",
|
|
775
807
|
"zstd",
|
|
@@ -777,9 +809,9 @@ dependencies = [
|
|
|
777
809
|
|
|
778
810
|
[[package]]
|
|
779
811
|
name = "zlib-rs"
|
|
780
|
-
version = "0.
|
|
812
|
+
version = "0.6.8"
|
|
781
813
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
782
|
-
checksum = "
|
|
814
|
+
checksum = "b268e58e7c693d7c271f93ffc4ba3b380412554231c85bf61ca7af91042a4112"
|
|
783
815
|
|
|
784
816
|
[[package]]
|
|
785
817
|
name = "zopfli"
|
|
@@ -804,18 +836,18 @@ dependencies = [
|
|
|
804
836
|
|
|
805
837
|
[[package]]
|
|
806
838
|
name = "zstd-safe"
|
|
807
|
-
version = "7.
|
|
839
|
+
version = "7.3.0"
|
|
808
840
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
809
|
-
checksum = "
|
|
841
|
+
checksum = "64d80649ab6db9d9f6f9c80a40becd948eda4714a0a5ac8c4d157a32231c7882"
|
|
810
842
|
dependencies = [
|
|
811
843
|
"zstd-sys",
|
|
812
844
|
]
|
|
813
845
|
|
|
814
846
|
[[package]]
|
|
815
847
|
name = "zstd-sys"
|
|
816
|
-
version = "2.0
|
|
848
|
+
version = "2.1.0+zstd.1.5.7"
|
|
817
849
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
818
|
-
checksum = "
|
|
850
|
+
checksum = "0ef0a8027ec3ee71300ab3bcbcd0393f434aa72b91ca6d635a39941deae8eea0"
|
|
819
851
|
dependencies = [
|
|
820
852
|
"cc",
|
|
821
853
|
"pkg-config",
|
data/ext/Cargo.toml
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[package]
|
|
2
2
|
name = "ruzip"
|
|
3
|
-
version = "0.2.
|
|
3
|
+
version = "0.2.1"
|
|
4
4
|
edition = "2024"
|
|
5
5
|
authors = ["Kitaiti Makoto <KitaitiMakoto@gmail.com>"]
|
|
6
6
|
publish = false
|
|
@@ -10,5 +10,5 @@ crate-type = ["cdylib"]
|
|
|
10
10
|
|
|
11
11
|
[dependencies]
|
|
12
12
|
magnus = { version = "0.8.0" }
|
|
13
|
-
zip = "
|
|
13
|
+
zip = "8.0.0"
|
|
14
14
|
rb-sys = { version = "*", features = ["stable-api-compiled-fallback"] }
|
data/ext/src/lib.rs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
use magnus::{Error, Integer, RString, Ruby, Value,
|
|
1
|
+
use magnus::{Error, Integer, RString, Ruby, Value, function, method, prelude::*};
|
|
2
2
|
use std::cell::RefCell;
|
|
3
3
|
use std::fs;
|
|
4
4
|
use std::io::{Read, Write};
|
|
@@ -17,7 +17,7 @@ struct Archive(Arc<Mutex<ZipArchive<fs::File>>>);
|
|
|
17
17
|
|
|
18
18
|
impl Archive {
|
|
19
19
|
fn new(ruby: &Ruby, r_io: Value) -> Result<Self> {
|
|
20
|
-
let io = if r_io.is_kind_of(
|
|
20
|
+
let io = if r_io.is_kind_of(ruby.class_io()) {
|
|
21
21
|
let fileno: Integer = r_io.funcall_public("fileno", ())?;
|
|
22
22
|
let raw_fd = fileno.to_i32()?;
|
|
23
23
|
unsafe { fs::File::from_raw_fd(raw_fd) }
|
|
@@ -30,7 +30,7 @@ impl Archive {
|
|
|
30
30
|
} else if r_io.respond_to("read", false)? {
|
|
31
31
|
// IO(r_io);
|
|
32
32
|
todo!("#read");
|
|
33
|
-
} else if r_io.is_kind_of(
|
|
33
|
+
} else if r_io.is_kind_of(ruby.class_string()) {
|
|
34
34
|
fs::File::open(r_io.to_r_string()?.to_string()?).map_err(|e| map_err(e, ruby))?
|
|
35
35
|
} else {
|
|
36
36
|
return Err(Error::new(
|
|
@@ -128,7 +128,7 @@ impl File {
|
|
|
128
128
|
let mut file = archive.by_index(rb_self.1).map_err(|e| map_err(e, ruby))?;
|
|
129
129
|
let mut buf = Vec::with_capacity(file.size() as usize);
|
|
130
130
|
file.read_to_end(&mut buf).map_err(|e| map_err(e, ruby))?;
|
|
131
|
-
Ok(
|
|
131
|
+
Ok(ruby.str_from_slice(&buf))
|
|
132
132
|
}
|
|
133
133
|
}
|
|
134
134
|
|
|
@@ -158,35 +158,23 @@ impl Writer {
|
|
|
158
158
|
}
|
|
159
159
|
|
|
160
160
|
fn start_file(ruby: &Ruby, rb_self: &Self, name: String) -> Result<()> {
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
None => Err(Error::new(
|
|
170
|
-
ruby.exception_runtime_error(),
|
|
171
|
-
"Already finished",
|
|
172
|
-
)),
|
|
173
|
-
}
|
|
161
|
+
let mut writer = rb_self.0.borrow_mut();
|
|
162
|
+
let writer = writer
|
|
163
|
+
.as_mut()
|
|
164
|
+
.ok_or_else(|| Error::new(ruby.exception_runtime_error(), "Already finished"))?;
|
|
165
|
+
writer
|
|
166
|
+
.start_file(name, zip::write::SimpleFileOptions::default())
|
|
167
|
+
.map_err(|e| map_err(e, ruby))?;
|
|
168
|
+
Ok(())
|
|
174
169
|
}
|
|
175
170
|
|
|
176
171
|
fn write(ruby: &Ruby, rb_self: &Self, buf: String) -> Result<()> {
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
Ok(())
|
|
184
|
-
}
|
|
185
|
-
None => Err(Error::new(
|
|
186
|
-
ruby.exception_runtime_error(),
|
|
187
|
-
"Already finished",
|
|
188
|
-
)),
|
|
189
|
-
}
|
|
172
|
+
let mut writer = rb_self.0.borrow_mut();
|
|
173
|
+
let writer = writer.as_mut()
|
|
174
|
+
.ok_or_else(|| Error::new(ruby.exception_runtime_error(), "Already finished"))?;
|
|
175
|
+
writer.write_all(buf.as_bytes())
|
|
176
|
+
.map_err(|e| map_err(e, ruby))?;
|
|
177
|
+
Ok(())
|
|
190
178
|
}
|
|
191
179
|
}
|
|
192
180
|
|
data/ruzip.gemspec
CHANGED
|
@@ -37,6 +37,8 @@ Gem::Specification.new do |spec|
|
|
|
37
37
|
spec.add_development_dependency "rdoc"
|
|
38
38
|
spec.add_development_dependency "rbs"
|
|
39
39
|
spec.add_development_dependency "archive-zip"
|
|
40
|
+
spec.add_development_dependency "ruby-lsp"
|
|
41
|
+
spec.add_development_dependency "steep"
|
|
40
42
|
|
|
41
43
|
# For more information and examples about making a new gem, check out our
|
|
42
44
|
# guide at: https://bundler.io/guides/creating_gem.html
|
data/test/test_package.rb
CHANGED
|
@@ -21,13 +21,8 @@ class TestPackage < Test::Unit::TestCase
|
|
|
21
21
|
system "gem", "build", "ruzip.gemspec", "--output", gemfile, exception: true
|
|
22
22
|
install_dir = File.join(dir, "install")
|
|
23
23
|
FileUtils.mkdir install_dir
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
"BUNDLE_GEMFILE" => nil,
|
|
27
|
-
"RUBYOPT" => nil
|
|
28
|
-
}
|
|
29
|
-
system env, "gem", "install", "--install-dir", install_dir, "--no-document", gemfile, exception: true
|
|
30
|
-
assert_path_exist File.join(install_dir, "gems", gemspec.full_name, "lib", "ruzip.#{RbConfig::CONFIG["DLEXT"]}")
|
|
24
|
+
system "gem", "install", "--install-dir", install_dir, "--no-document", gemfile, exception: true
|
|
25
|
+
assert_path_exist File.join(install_dir, "extensions", Gem::Platform.local.to_s, RbConfig::CONFIG['ruby_version'], gemspec.full_name, "ruzip.#{RbConfig::CONFIG["DLEXT"]}")
|
|
31
26
|
end
|
|
32
27
|
end
|
|
33
28
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ruzip
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Kitaiti Makoto
|
|
@@ -135,6 +135,34 @@ dependencies:
|
|
|
135
135
|
- - ">="
|
|
136
136
|
- !ruby/object:Gem::Version
|
|
137
137
|
version: '0'
|
|
138
|
+
- !ruby/object:Gem::Dependency
|
|
139
|
+
name: ruby-lsp
|
|
140
|
+
requirement: !ruby/object:Gem::Requirement
|
|
141
|
+
requirements:
|
|
142
|
+
- - ">="
|
|
143
|
+
- !ruby/object:Gem::Version
|
|
144
|
+
version: '0'
|
|
145
|
+
type: :development
|
|
146
|
+
prerelease: false
|
|
147
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
148
|
+
requirements:
|
|
149
|
+
- - ">="
|
|
150
|
+
- !ruby/object:Gem::Version
|
|
151
|
+
version: '0'
|
|
152
|
+
- !ruby/object:Gem::Dependency
|
|
153
|
+
name: steep
|
|
154
|
+
requirement: !ruby/object:Gem::Requirement
|
|
155
|
+
requirements:
|
|
156
|
+
- - ">="
|
|
157
|
+
- !ruby/object:Gem::Version
|
|
158
|
+
version: '0'
|
|
159
|
+
type: :development
|
|
160
|
+
prerelease: false
|
|
161
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
162
|
+
requirements:
|
|
163
|
+
- - ">="
|
|
164
|
+
- !ruby/object:Gem::Version
|
|
165
|
+
version: '0'
|
|
138
166
|
description: Library to support the reading and writing of zip files. A wrapper of
|
|
139
167
|
Rust's zip crate.
|
|
140
168
|
email:
|
|
@@ -184,7 +212,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
184
212
|
- !ruby/object:Gem::Version
|
|
185
213
|
version: 3.3.11
|
|
186
214
|
requirements: []
|
|
187
|
-
rubygems_version: 4.0.
|
|
215
|
+
rubygems_version: 4.0.20
|
|
188
216
|
specification_version: 4
|
|
189
217
|
summary: Library to support the reading and writing of zip files.
|
|
190
218
|
test_files:
|