JosephStoneCellAI commited on
Commit
cda778f
·
verified ·
1 Parent(s): 342bd59

Add files using upload-large-folder tool

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/anes-0.1.6/.cargo-ok +1 -0
  2. .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/anes-0.1.6/.cargo_vcs_info.json +5 -0
  3. .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/anes-0.1.6/Cargo.lock +511 -0
  4. .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/anes-0.1.6/Cargo.toml +48 -0
  5. .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/anes-0.1.6/Cargo.toml.orig +37 -0
  6. .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/anes-0.1.6/README.md +129 -0
  7. .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/base64ct-1.8.3/.cargo-ok +1 -0
  8. .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/base64ct-1.8.3/.cargo_vcs_info.json +6 -0
  9. .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/base64ct-1.8.3/CHANGELOG.md +208 -0
  10. .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/base64ct-1.8.3/Cargo.lock +212 -0
  11. .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/base64ct-1.8.3/Cargo.toml +101 -0
  12. .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/base64ct-1.8.3/Cargo.toml.orig +30 -0
  13. .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/base64ct-1.8.3/LICENSE-APACHE +201 -0
  14. .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/base64ct-1.8.3/LICENSE-MIT +26 -0
  15. .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/base64ct-1.8.3/README.md +87 -0
  16. .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/buf_redux-0.8.4/.cargo-ok +1 -0
  17. .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/buf_redux-0.8.4/.cargo_vcs_info.json +5 -0
  18. .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/buf_redux-0.8.4/.gitignore +19 -0
  19. .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/buf_redux-0.8.4/.travis.yml +27 -0
  20. .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/buf_redux-0.8.4/Cargo.toml +34 -0
  21. .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/buf_redux-0.8.4/Cargo.toml.orig +29 -0
  22. .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/buf_redux-0.8.4/LICENSE-APACHE +201 -0
  23. .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/buf_redux-0.8.4/LICENSE-MIT +8 -0
  24. .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/buf_redux-0.8.4/README.md +152 -0
  25. .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cast-0.3.0/.cargo-ok +1 -0
  26. .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cast-0.3.0/.cargo_vcs_info.json +5 -0
  27. .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cast-0.3.0/.gitignore +3 -0
  28. .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cast-0.3.0/CHANGELOG.md +110 -0
  29. .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cast-0.3.0/Cargo.toml +27 -0
  30. .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cast-0.3.0/Cargo.toml.orig +18 -0
  31. .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cast-0.3.0/LICENSE-APACHE +201 -0
  32. .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cast-0.3.0/LICENSE-MIT +25 -0
  33. .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cast-0.3.0/README.md +44 -0
  34. .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/chunked_transfer-1.5.0/.cargo-ok +1 -0
  35. .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/chunked_transfer-1.5.0/.cargo_vcs_info.json +6 -0
  36. .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/chunked_transfer-1.5.0/.gitignore +2 -0
  37. .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/chunked_transfer-1.5.0/Cargo.toml +27 -0
  38. .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/chunked_transfer-1.5.0/Cargo.toml.orig +15 -0
  39. .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/chunked_transfer-1.5.0/LICENSE-APACHE +201 -0
  40. .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/chunked_transfer-1.5.0/LICENSE-MIT +22 -0
  41. .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/chunked_transfer-1.5.0/README.md +59 -0
  42. .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ciborium-0.2.2/.cargo-ok +1 -0
  43. .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ciborium-0.2.2/.cargo_vcs_info.json +6 -0
  44. .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ciborium-0.2.2/Cargo.toml +64 -0
  45. .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ciborium-0.2.2/Cargo.toml.orig +39 -0
  46. .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ciborium-0.2.2/LICENSE +201 -0
  47. .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ciborium-0.2.2/README.md +92 -0
  48. .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/core-foundation-sys-0.8.7/.cargo-ok +1 -0
  49. .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/core-foundation-sys-0.8.7/.cargo_vcs_info.json +6 -0
  50. .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/core-foundation-sys-0.8.7/Cargo.toml +42 -0
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/anes-0.1.6/.cargo-ok ADDED
@@ -0,0 +1 @@
 
 
1
+ {"v":1}
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/anes-0.1.6/.cargo_vcs_info.json ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ {
2
+ "git": {
3
+ "sha1": "378ac7461ecac29fde9e10df7b08359d1315a9ad"
4
+ }
5
+ }
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/anes-0.1.6/Cargo.lock ADDED
@@ -0,0 +1,511 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # This file is automatically @generated by Cargo.
2
+ # It is not intended for manual editing.
3
+ [[package]]
4
+ name = "anes"
5
+ version = "0.1.6"
6
+ dependencies = [
7
+ "bitflags 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
8
+ "criterion 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
9
+ "libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)",
10
+ ]
11
+
12
+ [[package]]
13
+ name = "atty"
14
+ version = "0.2.13"
15
+ source = "registry+https://github.com/rust-lang/crates.io-index"
16
+ dependencies = [
17
+ "libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)",
18
+ "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
19
+ ]
20
+
21
+ [[package]]
22
+ name = "autocfg"
23
+ version = "0.1.7"
24
+ source = "registry+https://github.com/rust-lang/crates.io-index"
25
+
26
+ [[package]]
27
+ name = "bitflags"
28
+ version = "1.2.1"
29
+ source = "registry+https://github.com/rust-lang/crates.io-index"
30
+
31
+ [[package]]
32
+ name = "bstr"
33
+ version = "0.2.8"
34
+ source = "registry+https://github.com/rust-lang/crates.io-index"
35
+ dependencies = [
36
+ "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
37
+ "memchr 2.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
38
+ "regex-automata 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)",
39
+ "serde 1.0.103 (registry+https://github.com/rust-lang/crates.io-index)",
40
+ ]
41
+
42
+ [[package]]
43
+ name = "byteorder"
44
+ version = "1.3.2"
45
+ source = "registry+https://github.com/rust-lang/crates.io-index"
46
+
47
+ [[package]]
48
+ name = "cast"
49
+ version = "0.2.3"
50
+ source = "registry+https://github.com/rust-lang/crates.io-index"
51
+ dependencies = [
52
+ "rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
53
+ ]
54
+
55
+ [[package]]
56
+ name = "cfg-if"
57
+ version = "0.1.10"
58
+ source = "registry+https://github.com/rust-lang/crates.io-index"
59
+
60
+ [[package]]
61
+ name = "clap"
62
+ version = "2.33.0"
63
+ source = "registry+https://github.com/rust-lang/crates.io-index"
64
+ dependencies = [
65
+ "bitflags 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
66
+ "textwrap 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)",
67
+ "unicode-width 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
68
+ ]
69
+
70
+ [[package]]
71
+ name = "criterion"
72
+ version = "0.3.0"
73
+ source = "registry+https://github.com/rust-lang/crates.io-index"
74
+ dependencies = [
75
+ "atty 0.2.13 (registry+https://github.com/rust-lang/crates.io-index)",
76
+ "cast 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
77
+ "clap 2.33.0 (registry+https://github.com/rust-lang/crates.io-index)",
78
+ "criterion-plot 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
79
+ "csv 1.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
80
+ "itertools 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)",
81
+ "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
82
+ "num-traits 0.2.10 (registry+https://github.com/rust-lang/crates.io-index)",
83
+ "rand_core 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)",
84
+ "rand_os 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
85
+ "rand_xoshiro 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
86
+ "rayon 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
87
+ "serde 1.0.103 (registry+https://github.com/rust-lang/crates.io-index)",
88
+ "serde_derive 1.0.103 (registry+https://github.com/rust-lang/crates.io-index)",
89
+ "serde_json 1.0.42 (registry+https://github.com/rust-lang/crates.io-index)",
90
+ "tinytemplate 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
91
+ "walkdir 2.2.9 (registry+https://github.com/rust-lang/crates.io-index)",
92
+ ]
93
+
94
+ [[package]]
95
+ name = "criterion-plot"
96
+ version = "0.4.0"
97
+ source = "registry+https://github.com/rust-lang/crates.io-index"
98
+ dependencies = [
99
+ "cast 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
100
+ "itertools 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)",
101
+ ]
102
+
103
+ [[package]]
104
+ name = "crossbeam-deque"
105
+ version = "0.7.2"
106
+ source = "registry+https://github.com/rust-lang/crates.io-index"
107
+ dependencies = [
108
+ "crossbeam-epoch 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)",
109
+ "crossbeam-utils 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
110
+ ]
111
+
112
+ [[package]]
113
+ name = "crossbeam-epoch"
114
+ version = "0.8.0"
115
+ source = "registry+https://github.com/rust-lang/crates.io-index"
116
+ dependencies = [
117
+ "autocfg 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)",
118
+ "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)",
119
+ "crossbeam-utils 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
120
+ "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
121
+ "memoffset 0.5.3 (registry+https://github.com/rust-lang/crates.io-index)",
122
+ "scopeguard 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
123
+ ]
124
+
125
+ [[package]]
126
+ name = "crossbeam-queue"
127
+ version = "0.2.0"
128
+ source = "registry+https://github.com/rust-lang/crates.io-index"
129
+ dependencies = [
130
+ "crossbeam-utils 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
131
+ ]
132
+
133
+ [[package]]
134
+ name = "crossbeam-utils"
135
+ version = "0.7.0"
136
+ source = "registry+https://github.com/rust-lang/crates.io-index"
137
+ dependencies = [
138
+ "autocfg 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)",
139
+ "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)",
140
+ "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
141
+ ]
142
+
143
+ [[package]]
144
+ name = "csv"
145
+ version = "1.1.1"
146
+ source = "registry+https://github.com/rust-lang/crates.io-index"
147
+ dependencies = [
148
+ "bstr 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)",
149
+ "csv-core 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
150
+ "itoa 0.4.4 (registry+https://github.com/rust-lang/crates.io-index)",
151
+ "ryu 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
152
+ "serde 1.0.103 (registry+https://github.com/rust-lang/crates.io-index)",
153
+ ]
154
+
155
+ [[package]]
156
+ name = "csv-core"
157
+ version = "0.1.6"
158
+ source = "registry+https://github.com/rust-lang/crates.io-index"
159
+ dependencies = [
160
+ "memchr 2.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
161
+ ]
162
+
163
+ [[package]]
164
+ name = "either"
165
+ version = "1.5.3"
166
+ source = "registry+https://github.com/rust-lang/crates.io-index"
167
+
168
+ [[package]]
169
+ name = "getrandom"
170
+ version = "0.1.13"
171
+ source = "registry+https://github.com/rust-lang/crates.io-index"
172
+ dependencies = [
173
+ "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)",
174
+ "libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)",
175
+ "wasi 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
176
+ ]
177
+
178
+ [[package]]
179
+ name = "hermit-abi"
180
+ version = "0.1.3"
181
+ source = "registry+https://github.com/rust-lang/crates.io-index"
182
+ dependencies = [
183
+ "libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)",
184
+ ]
185
+
186
+ [[package]]
187
+ name = "itertools"
188
+ version = "0.8.2"
189
+ source = "registry+https://github.com/rust-lang/crates.io-index"
190
+ dependencies = [
191
+ "either 1.5.3 (registry+https://github.com/rust-lang/crates.io-index)",
192
+ ]
193
+
194
+ [[package]]
195
+ name = "itoa"
196
+ version = "0.4.4"
197
+ source = "registry+https://github.com/rust-lang/crates.io-index"
198
+
199
+ [[package]]
200
+ name = "lazy_static"
201
+ version = "1.4.0"
202
+ source = "registry+https://github.com/rust-lang/crates.io-index"
203
+
204
+ [[package]]
205
+ name = "libc"
206
+ version = "0.2.66"
207
+ source = "registry+https://github.com/rust-lang/crates.io-index"
208
+
209
+ [[package]]
210
+ name = "memchr"
211
+ version = "2.2.1"
212
+ source = "registry+https://github.com/rust-lang/crates.io-index"
213
+ dependencies = [
214
+ "libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)",
215
+ ]
216
+
217
+ [[package]]
218
+ name = "memoffset"
219
+ version = "0.5.3"
220
+ source = "registry+https://github.com/rust-lang/crates.io-index"
221
+ dependencies = [
222
+ "rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
223
+ ]
224
+
225
+ [[package]]
226
+ name = "num-traits"
227
+ version = "0.2.10"
228
+ source = "registry+https://github.com/rust-lang/crates.io-index"
229
+ dependencies = [
230
+ "autocfg 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)",
231
+ ]
232
+
233
+ [[package]]
234
+ name = "num_cpus"
235
+ version = "1.11.1"
236
+ source = "registry+https://github.com/rust-lang/crates.io-index"
237
+ dependencies = [
238
+ "hermit-abi 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)",
239
+ "libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)",
240
+ ]
241
+
242
+ [[package]]
243
+ name = "proc-macro2"
244
+ version = "1.0.6"
245
+ source = "registry+https://github.com/rust-lang/crates.io-index"
246
+ dependencies = [
247
+ "unicode-xid 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
248
+ ]
249
+
250
+ [[package]]
251
+ name = "quote"
252
+ version = "1.0.2"
253
+ source = "registry+https://github.com/rust-lang/crates.io-index"
254
+ dependencies = [
255
+ "proc-macro2 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
256
+ ]
257
+
258
+ [[package]]
259
+ name = "rand_core"
260
+ version = "0.5.1"
261
+ source = "registry+https://github.com/rust-lang/crates.io-index"
262
+ dependencies = [
263
+ "getrandom 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)",
264
+ ]
265
+
266
+ [[package]]
267
+ name = "rand_os"
268
+ version = "0.2.2"
269
+ source = "registry+https://github.com/rust-lang/crates.io-index"
270
+ dependencies = [
271
+ "getrandom 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)",
272
+ "rand_core 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)",
273
+ ]
274
+
275
+ [[package]]
276
+ name = "rand_xoshiro"
277
+ version = "0.3.1"
278
+ source = "registry+https://github.com/rust-lang/crates.io-index"
279
+ dependencies = [
280
+ "rand_core 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)",
281
+ ]
282
+
283
+ [[package]]
284
+ name = "rayon"
285
+ version = "1.2.1"
286
+ source = "registry+https://github.com/rust-lang/crates.io-index"
287
+ dependencies = [
288
+ "crossbeam-deque 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)",
289
+ "either 1.5.3 (registry+https://github.com/rust-lang/crates.io-index)",
290
+ "rayon-core 1.6.1 (registry+https://github.com/rust-lang/crates.io-index)",
291
+ ]
292
+
293
+ [[package]]
294
+ name = "rayon-core"
295
+ version = "1.6.1"
296
+ source = "registry+https://github.com/rust-lang/crates.io-index"
297
+ dependencies = [
298
+ "crossbeam-deque 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)",
299
+ "crossbeam-queue 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
300
+ "crossbeam-utils 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
301
+ "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
302
+ "num_cpus 1.11.1 (registry+https://github.com/rust-lang/crates.io-index)",
303
+ ]
304
+
305
+ [[package]]
306
+ name = "regex-automata"
307
+ version = "0.1.8"
308
+ source = "registry+https://github.com/rust-lang/crates.io-index"
309
+ dependencies = [
310
+ "byteorder 1.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
311
+ ]
312
+
313
+ [[package]]
314
+ name = "rustc_version"
315
+ version = "0.2.3"
316
+ source = "registry+https://github.com/rust-lang/crates.io-index"
317
+ dependencies = [
318
+ "semver 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)",
319
+ ]
320
+
321
+ [[package]]
322
+ name = "ryu"
323
+ version = "1.0.2"
324
+ source = "registry+https://github.com/rust-lang/crates.io-index"
325
+
326
+ [[package]]
327
+ name = "same-file"
328
+ version = "1.0.5"
329
+ source = "registry+https://github.com/rust-lang/crates.io-index"
330
+ dependencies = [
331
+ "winapi-util 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
332
+ ]
333
+
334
+ [[package]]
335
+ name = "scopeguard"
336
+ version = "1.0.0"
337
+ source = "registry+https://github.com/rust-lang/crates.io-index"
338
+
339
+ [[package]]
340
+ name = "semver"
341
+ version = "0.9.0"
342
+ source = "registry+https://github.com/rust-lang/crates.io-index"
343
+ dependencies = [
344
+ "semver-parser 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
345
+ ]
346
+
347
+ [[package]]
348
+ name = "semver-parser"
349
+ version = "0.7.0"
350
+ source = "registry+https://github.com/rust-lang/crates.io-index"
351
+
352
+ [[package]]
353
+ name = "serde"
354
+ version = "1.0.103"
355
+ source = "registry+https://github.com/rust-lang/crates.io-index"
356
+
357
+ [[package]]
358
+ name = "serde_derive"
359
+ version = "1.0.103"
360
+ source = "registry+https://github.com/rust-lang/crates.io-index"
361
+ dependencies = [
362
+ "proc-macro2 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
363
+ "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
364
+ "syn 1.0.9 (registry+https://github.com/rust-lang/crates.io-index)",
365
+ ]
366
+
367
+ [[package]]
368
+ name = "serde_json"
369
+ version = "1.0.42"
370
+ source = "registry+https://github.com/rust-lang/crates.io-index"
371
+ dependencies = [
372
+ "itoa 0.4.4 (registry+https://github.com/rust-lang/crates.io-index)",
373
+ "ryu 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
374
+ "serde 1.0.103 (registry+https://github.com/rust-lang/crates.io-index)",
375
+ ]
376
+
377
+ [[package]]
378
+ name = "syn"
379
+ version = "1.0.9"
380
+ source = "registry+https://github.com/rust-lang/crates.io-index"
381
+ dependencies = [
382
+ "proc-macro2 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
383
+ "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
384
+ "unicode-xid 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
385
+ ]
386
+
387
+ [[package]]
388
+ name = "textwrap"
389
+ version = "0.11.0"
390
+ source = "registry+https://github.com/rust-lang/crates.io-index"
391
+ dependencies = [
392
+ "unicode-width 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
393
+ ]
394
+
395
+ [[package]]
396
+ name = "tinytemplate"
397
+ version = "1.0.2"
398
+ source = "registry+https://github.com/rust-lang/crates.io-index"
399
+ dependencies = [
400
+ "serde 1.0.103 (registry+https://github.com/rust-lang/crates.io-index)",
401
+ "serde_json 1.0.42 (registry+https://github.com/rust-lang/crates.io-index)",
402
+ ]
403
+
404
+ [[package]]
405
+ name = "unicode-width"
406
+ version = "0.1.6"
407
+ source = "registry+https://github.com/rust-lang/crates.io-index"
408
+
409
+ [[package]]
410
+ name = "unicode-xid"
411
+ version = "0.2.0"
412
+ source = "registry+https://github.com/rust-lang/crates.io-index"
413
+
414
+ [[package]]
415
+ name = "walkdir"
416
+ version = "2.2.9"
417
+ source = "registry+https://github.com/rust-lang/crates.io-index"
418
+ dependencies = [
419
+ "same-file 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)",
420
+ "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
421
+ "winapi-util 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
422
+ ]
423
+
424
+ [[package]]
425
+ name = "wasi"
426
+ version = "0.7.0"
427
+ source = "registry+https://github.com/rust-lang/crates.io-index"
428
+
429
+ [[package]]
430
+ name = "winapi"
431
+ version = "0.3.8"
432
+ source = "registry+https://github.com/rust-lang/crates.io-index"
433
+ dependencies = [
434
+ "winapi-i686-pc-windows-gnu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
435
+ "winapi-x86_64-pc-windows-gnu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
436
+ ]
437
+
438
+ [[package]]
439
+ name = "winapi-i686-pc-windows-gnu"
440
+ version = "0.4.0"
441
+ source = "registry+https://github.com/rust-lang/crates.io-index"
442
+
443
+ [[package]]
444
+ name = "winapi-util"
445
+ version = "0.1.2"
446
+ source = "registry+https://github.com/rust-lang/crates.io-index"
447
+ dependencies = [
448
+ "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
449
+ ]
450
+
451
+ [[package]]
452
+ name = "winapi-x86_64-pc-windows-gnu"
453
+ version = "0.4.0"
454
+ source = "registry+https://github.com/rust-lang/crates.io-index"
455
+
456
+ [metadata]
457
+ "checksum atty 0.2.13 (registry+https://github.com/rust-lang/crates.io-index)" = "1803c647a3ec87095e7ae7acfca019e98de5ec9a7d01343f611cf3152ed71a90"
458
+ "checksum autocfg 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)" = "1d49d90015b3c36167a20fe2810c5cd875ad504b39cff3d4eae7977e6b7c1cb2"
459
+ "checksum bitflags 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693"
460
+ "checksum bstr 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)" = "8d6c2c5b58ab920a4f5aeaaca34b4488074e8cc7596af94e6f8c6ff247c60245"
461
+ "checksum byteorder 1.3.2 (registry+https://github.com/rust-lang/crates.io-index)" = "a7c3dd8985a7111efc5c80b44e23ecdd8c007de8ade3b96595387e812b957cf5"
462
+ "checksum cast 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)" = "4b9434b9a5aa1450faa3f9cb14ea0e8c53bb5d2b3c1bfd1ab4fc03e9f33fbfb0"
463
+ "checksum cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)" = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822"
464
+ "checksum clap 2.33.0 (registry+https://github.com/rust-lang/crates.io-index)" = "5067f5bb2d80ef5d68b4c87db81601f0b75bca627bc2ef76b141d7b846a3c6d9"
465
+ "checksum criterion 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "938703e165481c8d612ea3479ac8342e5615185db37765162e762ec3523e2fc6"
466
+ "checksum criterion-plot 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "eccdc6ce8bbe352ca89025bee672aa6d24f4eb8c53e3a8b5d1bc58011da072a2"
467
+ "checksum crossbeam-deque 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)" = "c3aa945d63861bfe624b55d153a39684da1e8c0bc8fba932f7ee3a3c16cea3ca"
468
+ "checksum crossbeam-epoch 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)" = "5064ebdbf05ce3cb95e45c8b086f72263f4166b29b97f6baff7ef7fe047b55ac"
469
+ "checksum crossbeam-queue 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "dfd6515864a82d2f877b42813d4553292c6659498c9a2aa31bab5a15243c2700"
470
+ "checksum crossbeam-utils 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ce446db02cdc3165b94ae73111e570793400d0794e46125cc4056c81cbb039f4"
471
+ "checksum csv 1.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "37519ccdfd73a75821cac9319d4fce15a81b9fcf75f951df5b9988aa3a0af87d"
472
+ "checksum csv-core 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)" = "9b5cadb6b25c77aeff80ba701712494213f4a8418fcda2ee11b6560c3ad0bf4c"
473
+ "checksum either 1.5.3 (registry+https://github.com/rust-lang/crates.io-index)" = "bb1f6b1ce1c140482ea30ddd3335fc0024ac7ee112895426e0a629a6c20adfe3"
474
+ "checksum getrandom 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)" = "e7db7ca94ed4cd01190ceee0d8a8052f08a247aa1b469a7f68c6a3b71afcf407"
475
+ "checksum hermit-abi 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)" = "307c3c9f937f38e3534b1d6447ecf090cafcc9744e4a6360e8b037b2cf5af120"
476
+ "checksum itertools 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)" = "f56a2d0bc861f9165be4eb3442afd3c236d8a98afd426f65d92324ae1091a484"
477
+ "checksum itoa 0.4.4 (registry+https://github.com/rust-lang/crates.io-index)" = "501266b7edd0174f8530248f87f99c88fbe60ca4ef3dd486835b8d8d53136f7f"
478
+ "checksum lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646"
479
+ "checksum libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)" = "d515b1f41455adea1313a4a2ac8a8a477634fbae63cc6100e3aebb207ce61558"
480
+ "checksum memchr 2.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "88579771288728879b57485cc7d6b07d648c9f0141eb955f8ab7f9d45394468e"
481
+ "checksum memoffset 0.5.3 (registry+https://github.com/rust-lang/crates.io-index)" = "75189eb85871ea5c2e2c15abbdd541185f63b408415e5051f5cac122d8c774b9"
482
+ "checksum num-traits 0.2.10 (registry+https://github.com/rust-lang/crates.io-index)" = "d4c81ffc11c212fa327657cb19dd85eb7419e163b5b076bede2bdb5c974c07e4"
483
+ "checksum num_cpus 1.11.1 (registry+https://github.com/rust-lang/crates.io-index)" = "76dac5ed2a876980778b8b85f75a71b6cbf0db0b1232ee12f826bccb00d09d72"
484
+ "checksum proc-macro2 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)" = "9c9e470a8dc4aeae2dee2f335e8f533e2d4b347e1434e5671afc49b054592f27"
485
+ "checksum quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)" = "053a8c8bcc71fcce321828dc897a98ab9760bef03a4fc36693c231e5b3216cfe"
486
+ "checksum rand_core 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)" = "90bde5296fc891b0cef12a6d03ddccc162ce7b2aff54160af9338f8d40df6d19"
487
+ "checksum rand_os 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "a788ae3edb696cfcba1c19bfd388cc4b8c21f8a408432b199c072825084da58a"
488
+ "checksum rand_xoshiro 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)" = "0e18c91676f670f6f0312764c759405f13afb98d5d73819840cf72a518487bff"
489
+ "checksum rayon 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "43739f8831493b276363637423d3622d4bd6394ab6f0a9c4a552e208aeb7fddd"
490
+ "checksum rayon-core 1.6.1 (registry+https://github.com/rust-lang/crates.io-index)" = "f8bf17de6f23b05473c437eb958b9c850bfc8af0961fe17b4cc92d5a627b4791"
491
+ "checksum regex-automata 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)" = "92b73c2a1770c255c240eaa4ee600df1704a38dc3feaa6e949e7fcd4f8dc09f9"
492
+ "checksum rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)" = "138e3e0acb6c9fb258b19b67cb8abd63c00679d2851805ea151465464fe9030a"
493
+ "checksum ryu 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)" = "bfa8506c1de11c9c4e4c38863ccbe02a305c8188e85a05a784c9e11e1c3910c8"
494
+ "checksum same-file 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)" = "585e8ddcedc187886a30fa705c47985c3fa88d06624095856b36ca0b82ff4421"
495
+ "checksum scopeguard 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "b42e15e59b18a828bbf5c58ea01debb36b9b096346de35d941dcb89009f24a0d"
496
+ "checksum semver 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)" = "1d7eb9ef2c18661902cc47e535f9bc51b78acd254da71d375c2f6720d9a40403"
497
+ "checksum semver-parser 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3"
498
+ "checksum serde 1.0.103 (registry+https://github.com/rust-lang/crates.io-index)" = "1217f97ab8e8904b57dd22eb61cde455fa7446a9c1cf43966066da047c1f3702"
499
+ "checksum serde_derive 1.0.103 (registry+https://github.com/rust-lang/crates.io-index)" = "a8c6faef9a2e64b0064f48570289b4bf8823b7581f1d6157c1b52152306651d0"
500
+ "checksum serde_json 1.0.42 (registry+https://github.com/rust-lang/crates.io-index)" = "1a3351dcbc1f067e2c92ab7c3c1f288ad1a4cffc470b5aaddb4c2e0a3ae80043"
501
+ "checksum syn 1.0.9 (registry+https://github.com/rust-lang/crates.io-index)" = "f89693ae015201f8de93fd96bde2d065f8bfc3f97ce006d5bc9f900b97c0c7c0"
502
+ "checksum textwrap 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)" = "d326610f408c7a4eb6f51c37c330e496b08506c9457c9d34287ecc38809fb060"
503
+ "checksum tinytemplate 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)" = "4574b75faccaacddb9b284faecdf0b544b80b6b294f3d062d325c5726a209c20"
504
+ "checksum unicode-width 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)" = "7007dbd421b92cc6e28410fe7362e2e0a2503394908f417b68ec8d1c364c4e20"
505
+ "checksum unicode-xid 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "826e7639553986605ec5979c7dd957c7895e93eabed50ab2ffa7f6128a75097c"
506
+ "checksum walkdir 2.2.9 (registry+https://github.com/rust-lang/crates.io-index)" = "9658c94fa8b940eab2250bd5a457f9c48b748420d71293b165c8cdbe2f55f71e"
507
+ "checksum wasi 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "b89c3ce4ce14bdc6fb6beaf9ec7928ca331de5df7e5ea278375642a2f478570d"
508
+ "checksum winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)" = "8093091eeb260906a183e6ae1abdba2ef5ef2257a21801128899c3fc699229c6"
509
+ "checksum winapi-i686-pc-windows-gnu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
510
+ "checksum winapi-util 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "7168bab6e1daee33b4557efd0e95d5ca70a03706d39fa5f3fe7a236f584b03c9"
511
+ "checksum winapi-x86_64-pc-windows-gnu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/anes-0.1.6/Cargo.toml ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
2
+ #
3
+ # When uploading crates to the registry Cargo will automatically
4
+ # "normalize" Cargo.toml files for maximal compatibility
5
+ # with all versions of Cargo and also rewrite `path` dependencies
6
+ # to registry (e.g., crates.io) dependencies
7
+ #
8
+ # If you believe there's an error in this file please file an
9
+ # issue against the rust-lang/cargo repository. If you're
10
+ # editing this file be aware that the upstream Cargo.toml
11
+ # will likely look very different (and much more reasonable)
12
+
13
+ [package]
14
+ edition = "2018"
15
+ name = "anes"
16
+ version = "0.1.6"
17
+ authors = ["Robert Vojta <rvojta@me.com>"]
18
+ exclude = ["target", "Cargo.lock"]
19
+ description = "ANSI Escape Sequences provider & parser"
20
+ documentation = "https://docs.rs/anes/"
21
+ readme = "README.md"
22
+ keywords = ["terminal", "ansi", "sequence", "code", "parser"]
23
+ license = "MIT OR Apache-2.0"
24
+ repository = "https://github.com/zrzka/anes-rs"
25
+ [package.metadata.docs.rs]
26
+ all-features = true
27
+
28
+ [lib]
29
+ bench = false
30
+
31
+ [[bench]]
32
+ name = "bench_main"
33
+ harness = false
34
+ required-features = ["parser"]
35
+ [dependencies.bitflags]
36
+ version = "1.2"
37
+ optional = true
38
+ [dev-dependencies.criterion]
39
+ version = "0.3"
40
+
41
+ [dev-dependencies.libc]
42
+ version = "0.2.66"
43
+
44
+ [features]
45
+ default = []
46
+ parser = ["bitflags"]
47
+ [badges.maintenance]
48
+ status = "actively-developed"
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/anes-0.1.6/Cargo.toml.orig ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [package]
2
+ name = "anes"
3
+ version = "0.1.6"
4
+ authors = ["Robert Vojta <rvojta@me.com>"]
5
+ edition = "2018"
6
+ description = "ANSI Escape Sequences provider & parser"
7
+ repository = "https://github.com/zrzka/anes-rs"
8
+ documentation = "https://docs.rs/anes/"
9
+ license = "MIT OR Apache-2.0"
10
+ keywords = ["terminal", "ansi", "sequence", "code", "parser"]
11
+ exclude = ["target", "Cargo.lock"]
12
+ readme = "README.md"
13
+
14
+ [lib]
15
+ bench = false
16
+
17
+ [badges]
18
+ maintenance = { status = "actively-developed" }
19
+
20
+ [package.metadata.docs.rs]
21
+ all-features = true
22
+
23
+ [features]
24
+ default = []
25
+ parser = ["bitflags"]
26
+
27
+ [dependencies]
28
+ bitflags = { version = "1.2", optional = true }
29
+
30
+ [dev-dependencies]
31
+ criterion = "0.3"
32
+ libc = "0.2.66"
33
+
34
+ [[bench]]
35
+ name = "bench_main"
36
+ harness = false
37
+ required-features = ["parser"]
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/anes-0.1.6/README.md ADDED
@@ -0,0 +1,129 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [![Stable Status][actions-stable-badge]][actions-link]
2
+ [![Beta Status][actions-beta-badge]][actions-link]
3
+ [![Nightly Status][actions-nightly-badge]][actions-link]
4
+ [![crates.io][crates-badge]][crates-link]
5
+ [![docs.rs][docs-badge]][docs-link]
6
+ [![MIT][mit-license-badge]][mit-license-link]
7
+ [![Apache 2.0][apache-license-badge]][apache-license-link]
8
+ ![LOC][loc-badge]
9
+
10
+ # ANSI Escape Sequences provider & parser
11
+
12
+ A Rust library which provides an ANSI escape sequences (or codes, whatever you like more)
13
+ and a parser allowing you to parse data from the STDIN (or `/dev/tty`) in the raw mode.
14
+
15
+ ## Sequences provider
16
+
17
+ ### Terminal support
18
+
19
+ Not all ANSI escape sequences are supported by all terminals. You can use the
20
+ [interactive-test](https://github.com/zrzka/anes-rs/tree/master/interactive-test) to test them.
21
+ Checkout the repository and then:
22
+
23
+ ```bash
24
+ $ cd anes-rs
25
+ $ cargo run --bin interactive-test
26
+ ```
27
+
28
+ ### Examples
29
+
30
+ <details>
31
+ <summary>
32
+ Click to show Cargo.toml.
33
+ </summary>
34
+
35
+ ```toml
36
+ [dependencies]
37
+ anes = "0.1"
38
+ ```
39
+
40
+ </details>
41
+ <p></p>
42
+
43
+
44
+ An example how to retrieve the ANSI escape sequence as a `String`:
45
+
46
+ ```rust
47
+ use anes::SaveCursorPosition;
48
+
49
+ fn main() {
50
+ let string = format!("{}", SaveCursorPosition);
51
+ assert_eq!(&string, "\x1B7");
52
+ }
53
+ ```
54
+
55
+ An example how to use the ANSI escape sequence:
56
+
57
+ ```rust
58
+ use std::io::{Result, Write};
59
+
60
+ use anes::execute;
61
+
62
+ fn main() -> Result<()> {
63
+ let mut stdout = std::io::stdout();
64
+ execute!(
65
+ &mut stdout,
66
+ anes::SaveCursorPosition,
67
+ anes::MoveCursorTo(10, 10),
68
+ anes::RestoreCursorPosition
69
+ )?;
70
+ Ok(())
71
+ }
72
+ ```
73
+
74
+ ## Sequences parser
75
+
76
+ You have to enable `parser` feature in order to use the parser. It's disabled by default.
77
+
78
+ ### Examples
79
+
80
+ <details>
81
+ <summary>
82
+ Click to show Cargo.toml.
83
+ </summary>
84
+
85
+ ```toml
86
+ [dependencies]
87
+ anes = { version = "0.1", features = ["parser"] }
88
+ ```
89
+
90
+ </details>
91
+ <p></p>
92
+
93
+ An example how to parse cursor position:
94
+
95
+ ```rust
96
+ use anes::parser::{Parser, Sequence};
97
+
98
+ let mut parser = Parser::default();
99
+ parser.advance(b"\x1B[20;10R", false);
100
+
101
+ assert_eq!(Some(Sequence::CursorPosition(10, 20)), parser.next());
102
+ assert!(parser.next().is_none());
103
+ ```
104
+
105
+ ## License
106
+
107
+ The ANES crate is dual-licensed under [Apache 2.0][apache-license-link] and
108
+ [MIT][mit-license-link] terms.
109
+
110
+ Copyrights in the ANES project are retained by their contributors. No
111
+ copyright assignment is required to contribute to the ANES project.
112
+
113
+ [actions-stable-badge]: https://github.com/zrzka/anes-rs/workflows/stable/badge.svg
114
+ [actions-beta-badge]: https://github.com/zrzka/anes-rs/workflows/beta/badge.svg
115
+ [actions-nightly-badge]: https://github.com/zrzka/anes-rs/workflows/nightly/badge.svg
116
+ [actions-link]: https://github.com/zrzka/anes-rs/actions
117
+
118
+ [crates-badge]: https://img.shields.io/crates/v/anes.svg
119
+ [crates-link]: https://crates.io/crates/anes
120
+
121
+ [docs-badge]: https://docs.rs/anes/badge.svg
122
+ [docs-link]: https://docs.rs/anes
123
+
124
+ [mit-license-badge]: https://img.shields.io/badge/license-MIT-blue.svg
125
+ [mit-license-link]: ./LICENSE-MIT
126
+ [apache-license-badge]: https://img.shields.io/badge/license-Apache2-blue.svg
127
+ [apache-license-link]: /LICENSE-APACHE
128
+
129
+ [loc-badge]: https://tokei.rs/b1/github/zrzka/anes-rs?category=code
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/base64ct-1.8.3/.cargo-ok ADDED
@@ -0,0 +1 @@
 
 
1
+ {"v":1}
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/base64ct-1.8.3/.cargo_vcs_info.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "git": {
3
+ "sha1": "9adf88fe3e6e0fb9f8cf20b54747aff67a3eca6e"
4
+ },
5
+ "path_in_vcs": "base64ct"
6
+ }
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/base64ct-1.8.3/CHANGELOG.md ADDED
@@ -0,0 +1,208 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Changelog
2
+ All notable changes to this project will be documented in this file.
3
+
4
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
+
7
+ ## 1.8.3 (2026-01-11)
8
+ ### Added
9
+ - `Base64Pbkdf2` alphabet ([#2168])
10
+
11
+ [#2168]: https://github.com/RustCrypto/formats/pull/2168
12
+
13
+ ## 1.8.2 (2026-01-03)
14
+ ### Changed
15
+ - Deprecate `Base64Crypt` ([#2135])
16
+
17
+ [#2135]: https://github.com/RustCrypto/formats/pull/2135
18
+
19
+ ## 1.8.1 (2025-12-06)
20
+ ### Added
21
+ - Notes on `crypt(3)` alphabet variants ([#2073])
22
+
23
+ ### Fixed
24
+ - Switch from `doc_auto_cfg` to `doc_cfg` ([#2072])
25
+
26
+ [#2072]: https://github.com/RustCrypto/formats/pull/2072
27
+ [#2073]: https://github.com/RustCrypto/formats/pull/2073
28
+
29
+ ## 1.8.0 (2025-06-04)
30
+ ### Changed
31
+ - Bump edition to 2024; MSRV 1.85 ([#1839])
32
+
33
+ [#1839]: https://github.com/RustCrypto/formats/pull/1839
34
+
35
+ ## 1.7.3 (2025-03-13)
36
+ ### Changed
37
+ - Don't fail with `InvalidLength` when reading nothing at end of data ([#1716]).
38
+
39
+ [#1716]: https://github.com/RustCrypto/formats/pull/1716
40
+
41
+ ## 1.7.2 (2025-03-13)
42
+ ### Changed
43
+ - Revert [#1387]: reject zero-length decode requests as it's a breaking change ([#1714])
44
+
45
+ [#1714]: https://github.com/RustCrypto/formats/pull/1714
46
+
47
+ ## 1.7.1 (2025-03-10)
48
+ ### Changed
49
+ - MSRV 1.81 - edition downgraded to 2021 from yanked 1.7.0 release ([#1702])
50
+
51
+ [#1702]: https://github.com/RustCrypto/formats/pull/1702
52
+
53
+ ## 1.7.0 (2025-02-25) [YANKED]
54
+ ### Added
55
+ - derive additional traits on alphabets ([#1578])
56
+
57
+ ### Changed
58
+ - ~~MSRV 1.85 // Edition 2024 ([#1670])~~
59
+ - ~~reject zero-length decode requests ([#1387])~~
60
+ - use `core::error::Error` ([#1681])
61
+
62
+ [#1387]: https://github.com/RustCrypto/formats/pull/1387
63
+ [#1578]: https://github.com/RustCrypto/formats/pull/1578
64
+ [#1670]: https://github.com/RustCrypto/formats/pull/1670
65
+ [#1681]: https://github.com/RustCrypto/formats/pull/1681
66
+
67
+ ## 1.6.0 (2023-02-26)
68
+ ### Changed
69
+ - MSRV 1.60 ([#802])
70
+ - Lint improvements ([#824])
71
+
72
+ [#802]: https://github.com/RustCrypto/formats/pull/802
73
+ [#824]: https://github.com/RustCrypto/formats/pull/824
74
+
75
+ ## 1.5.3 (2022-10-18)
76
+ ### Added
77
+ - `Base64ShaCrypt` alphabet ([#742])
78
+
79
+ ### Changed
80
+ - Use `RangeInclusive` for `DecodeStep` ([#713])
81
+
82
+ [#713]: https://github.com/RustCrypto/formats/pull/713
83
+ [#742]: https://github.com/RustCrypto/formats/pull/742
84
+
85
+ ## 1.5.2 (2022-08-22)
86
+ ### Fixed
87
+ - Return `Ok(0)` in `io::Read` impl to signal end of stream ([#704])
88
+
89
+ [#704]: https://github.com/RustCrypto/formats/pull/704
90
+
91
+ ## 1.5.1 (2022-06-26)
92
+ ### Fixed
93
+ - Last block validation ([#680])
94
+
95
+ [#680]: https://github.com/RustCrypto/formats/pull/680
96
+
97
+ ## 1.5.0 (2022-03-29)
98
+ ### Fixed
99
+ - Ensure checked arithmetic with `clippy::integer_arithmetic` lint ([#557])
100
+ - Prevent foreign impls of `Encoding` by bounding sealed `Variant` trait ([#562])
101
+
102
+ [#557]: https://github.com/RustCrypto/formats/pull/557
103
+ [#562]: https://github.com/RustCrypto/formats/pull/562
104
+
105
+ ## 1.4.1 (2022-03-11)
106
+ ### Changed
107
+ - Rename `Decoder::decoded_len` => `::remaining_len` ([#500])
108
+
109
+ [#500]: https://github.com/RustCrypto/formats/pull/500
110
+
111
+ ## 1.4.0 (2022-03-10) [YANKED]
112
+ ### Added
113
+ - Buffered `Encoder` type ([#366], [#455], [#457])
114
+ - `Decoder::decoded_len` method ([#403])
115
+ - Impl `std::io::Read` for `Decoder` ([#404])
116
+ - Bounds for `Encoding`/`Variant` ZSTs ([#405], [#408])
117
+
118
+ [#366]: https://github.com/RustCrypto/formats/pull/366
119
+ [#403]: https://github.com/RustCrypto/formats/pull/403
120
+ [#404]: https://github.com/RustCrypto/formats/pull/404
121
+ [#405]: https://github.com/RustCrypto/formats/pull/405
122
+ [#408]: https://github.com/RustCrypto/formats/pull/408
123
+ [#455]: https://github.com/RustCrypto/formats/pull/455
124
+ [#457]: https://github.com/RustCrypto/formats/pull/457
125
+
126
+ ## 1.3.3 (2021-12-28)
127
+ ### Fixed
128
+ - Potential infinite loop in `Decoder::decode` ([#305])
129
+
130
+ [#305]: https://github.com/RustCrypto/formats/pull/305
131
+
132
+ ## 1.3.2 (2021-12-26) [YANKED]
133
+ ### Fixed
134
+ - `Decoder` unpadding ([#299])
135
+ - Edge case when using `Decoder::new_wrapped` ([#300])
136
+
137
+ [#299]: https://github.com/RustCrypto/formats/pull/299
138
+ [#300]: https://github.com/RustCrypto/formats/pull/300
139
+
140
+ ## 1.3.1 (2021-12-20) [YANKED]
141
+ ### Added
142
+ - `Decoder::new_wrapped` with support for line-wrapped Base64 ([#292], [#293], [#294])
143
+
144
+ [#292]: https://github.com/RustCrypto/formats/pull/292
145
+ [#293]: https://github.com/RustCrypto/formats/pull/292
146
+ [#294]: https://github.com/RustCrypto/formats/pull/294
147
+
148
+ ## 1.3.0 (2021-12-02) [YANKED]
149
+ ### Added
150
+ - Stateful `Decoder` type ([#266])
151
+
152
+ [#266]: https://github.com/RustCrypto/formats/pull/266
153
+
154
+ ## 1.2.0 (2021-11-03)
155
+ ### Changed
156
+ - Rust 2021 edition upgrade; MSRV 1.56 ([#136])
157
+
158
+ ### Fixed
159
+ - Benchmarks ([#135])
160
+
161
+ [#135]: https://github.com/RustCrypto/formats/pull/135
162
+ [#136]: https://github.com/RustCrypto/formats/pull/136
163
+
164
+ ## 1.1.1 (2021-10-14)
165
+ ### Changed
166
+ - Update `Util::Lookup` paper references ([#32])
167
+
168
+ [#32]: https://github.com/RustCrypto/formats/pull/32
169
+
170
+ ## 1.1.0 (2021-09-14)
171
+ ### Changed
172
+ - Moved to `formats` repo; MSRV 1.51+ ([#2])
173
+
174
+ [#2]: https://github.com/RustCrypto/formats/pull/2
175
+
176
+ ## 1.0.1 (2021-08-14)
177
+ ### Fixed
178
+ - Make `Encoding::decode` reject invalid padding
179
+
180
+ ## 1.0.0 (2021-03-17)
181
+ ### Changed
182
+ - Bump MSRV to 1.47+
183
+
184
+ ### Fixed
185
+ - MSRV-dependent TODOs in implementation
186
+
187
+ ## 0.2.1 (2021-03-07)
188
+ ### Fixed
189
+ - MSRV docs
190
+
191
+ ## 0.2.0 (2021-02-01)
192
+ ### Changed
193
+ - Refactor with `Encoding` trait
194
+ - Internal refactoring
195
+
196
+ ## 0.1.2 (2021-01-31)
197
+ ### Added
198
+ - bcrypt encoding
199
+ - `crypt(3)` encoding
200
+
201
+ ### Changed
202
+ - Internal refactoring
203
+
204
+ ## 0.1.1 (2021-01-27)
205
+ - Minor code improvements
206
+
207
+ ## 0.1.0 (2021-01-26)
208
+ - Initial release
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/base64ct-1.8.3/Cargo.lock ADDED
@@ -0,0 +1,212 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # This file is automatically @generated by Cargo.
2
+ # It is not intended for manual editing.
3
+ version = 4
4
+
5
+ [[package]]
6
+ name = "autocfg"
7
+ version = "1.5.0"
8
+ source = "registry+https://github.com/rust-lang/crates.io-index"
9
+ checksum = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8"
10
+
11
+ [[package]]
12
+ name = "base64"
13
+ version = "0.22.1"
14
+ source = "registry+https://github.com/rust-lang/crates.io-index"
15
+ checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6"
16
+
17
+ [[package]]
18
+ name = "base64ct"
19
+ version = "1.8.3"
20
+ dependencies = [
21
+ "base64",
22
+ "proptest",
23
+ ]
24
+
25
+ [[package]]
26
+ name = "bitflags"
27
+ version = "2.10.0"
28
+ source = "registry+https://github.com/rust-lang/crates.io-index"
29
+ checksum = "812e12b5285cc515a9c72a5c1d3b6d46a19dac5acfef5265968c166106e31dd3"
30
+
31
+ [[package]]
32
+ name = "cfg-if"
33
+ version = "1.0.4"
34
+ source = "registry+https://github.com/rust-lang/crates.io-index"
35
+ checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801"
36
+
37
+ [[package]]
38
+ name = "getrandom"
39
+ version = "0.3.4"
40
+ source = "registry+https://github.com/rust-lang/crates.io-index"
41
+ checksum = "899def5c37c4fd7b2664648c28120ecec138e4d395b459e5ca34f9cce2dd77fd"
42
+ dependencies = [
43
+ "cfg-if",
44
+ "libc",
45
+ "r-efi",
46
+ "wasip2",
47
+ ]
48
+
49
+ [[package]]
50
+ name = "libc"
51
+ version = "0.2.179"
52
+ source = "registry+https://github.com/rust-lang/crates.io-index"
53
+ checksum = "c5a2d376baa530d1238d133232d15e239abad80d05838b4b59354e5268af431f"
54
+
55
+ [[package]]
56
+ name = "num-traits"
57
+ version = "0.2.19"
58
+ source = "registry+https://github.com/rust-lang/crates.io-index"
59
+ checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841"
60
+ dependencies = [
61
+ "autocfg",
62
+ ]
63
+
64
+ [[package]]
65
+ name = "ppv-lite86"
66
+ version = "0.2.21"
67
+ source = "registry+https://github.com/rust-lang/crates.io-index"
68
+ checksum = "85eae3c4ed2f50dcfe72643da4befc30deadb458a9b590d720cde2f2b1e97da9"
69
+ dependencies = [
70
+ "zerocopy",
71
+ ]
72
+
73
+ [[package]]
74
+ name = "proc-macro2"
75
+ version = "1.0.104"
76
+ source = "registry+https://github.com/rust-lang/crates.io-index"
77
+ checksum = "9695f8df41bb4f3d222c95a67532365f569318332d03d5f3f67f37b20e6ebdf0"
78
+ dependencies = [
79
+ "unicode-ident",
80
+ ]
81
+
82
+ [[package]]
83
+ name = "proptest"
84
+ version = "1.9.0"
85
+ source = "registry+https://github.com/rust-lang/crates.io-index"
86
+ checksum = "bee689443a2bd0a16ab0348b52ee43e3b2d1b1f931c8aa5c9f8de4c86fbe8c40"
87
+ dependencies = [
88
+ "bitflags",
89
+ "num-traits",
90
+ "rand",
91
+ "rand_chacha",
92
+ "rand_xorshift",
93
+ "regex-syntax",
94
+ "unarray",
95
+ ]
96
+
97
+ [[package]]
98
+ name = "quote"
99
+ version = "1.0.42"
100
+ source = "registry+https://github.com/rust-lang/crates.io-index"
101
+ checksum = "a338cc41d27e6cc6dce6cefc13a0729dfbb81c262b1f519331575dd80ef3067f"
102
+ dependencies = [
103
+ "proc-macro2",
104
+ ]
105
+
106
+ [[package]]
107
+ name = "r-efi"
108
+ version = "5.3.0"
109
+ source = "registry+https://github.com/rust-lang/crates.io-index"
110
+ checksum = "69cdb34c158ceb288df11e18b4bd39de994f6657d83847bdffdbd7f346754b0f"
111
+
112
+ [[package]]
113
+ name = "rand"
114
+ version = "0.9.2"
115
+ source = "registry+https://github.com/rust-lang/crates.io-index"
116
+ checksum = "6db2770f06117d490610c7488547d543617b21bfa07796d7a12f6f1bd53850d1"
117
+ dependencies = [
118
+ "rand_chacha",
119
+ "rand_core",
120
+ ]
121
+
122
+ [[package]]
123
+ name = "rand_chacha"
124
+ version = "0.9.0"
125
+ source = "registry+https://github.com/rust-lang/crates.io-index"
126
+ checksum = "d3022b5f1df60f26e1ffddd6c66e8aa15de382ae63b3a0c1bfc0e4d3e3f325cb"
127
+ dependencies = [
128
+ "ppv-lite86",
129
+ "rand_core",
130
+ ]
131
+
132
+ [[package]]
133
+ name = "rand_core"
134
+ version = "0.9.3"
135
+ source = "registry+https://github.com/rust-lang/crates.io-index"
136
+ checksum = "99d9a13982dcf210057a8a78572b2217b667c3beacbf3a0d8b454f6f82837d38"
137
+ dependencies = [
138
+ "getrandom",
139
+ ]
140
+
141
+ [[package]]
142
+ name = "rand_xorshift"
143
+ version = "0.4.0"
144
+ source = "registry+https://github.com/rust-lang/crates.io-index"
145
+ checksum = "513962919efc330f829edb2535844d1b912b0fbe2ca165d613e4e8788bb05a5a"
146
+ dependencies = [
147
+ "rand_core",
148
+ ]
149
+
150
+ [[package]]
151
+ name = "regex-syntax"
152
+ version = "0.8.8"
153
+ source = "registry+https://github.com/rust-lang/crates.io-index"
154
+ checksum = "7a2d987857b319362043e95f5353c0535c1f58eec5336fdfcf626430af7def58"
155
+
156
+ [[package]]
157
+ name = "syn"
158
+ version = "2.0.113"
159
+ source = "registry+https://github.com/rust-lang/crates.io-index"
160
+ checksum = "678faa00651c9eb72dd2020cbdf275d92eccb2400d568e419efdd64838145cb4"
161
+ dependencies = [
162
+ "proc-macro2",
163
+ "quote",
164
+ "unicode-ident",
165
+ ]
166
+
167
+ [[package]]
168
+ name = "unarray"
169
+ version = "0.1.4"
170
+ source = "registry+https://github.com/rust-lang/crates.io-index"
171
+ checksum = "eaea85b334db583fe3274d12b4cd1880032beab409c0d774be044d4480ab9a94"
172
+
173
+ [[package]]
174
+ name = "unicode-ident"
175
+ version = "1.0.22"
176
+ source = "registry+https://github.com/rust-lang/crates.io-index"
177
+ checksum = "9312f7c4f6ff9069b165498234ce8be658059c6728633667c526e27dc2cf1df5"
178
+
179
+ [[package]]
180
+ name = "wasip2"
181
+ version = "1.0.1+wasi-0.2.4"
182
+ source = "registry+https://github.com/rust-lang/crates.io-index"
183
+ checksum = "0562428422c63773dad2c345a1882263bbf4d65cf3f42e90921f787ef5ad58e7"
184
+ dependencies = [
185
+ "wit-bindgen",
186
+ ]
187
+
188
+ [[package]]
189
+ name = "wit-bindgen"
190
+ version = "0.46.0"
191
+ source = "registry+https://github.com/rust-lang/crates.io-index"
192
+ checksum = "f17a85883d4e6d00e8a97c586de764dabcc06133f7f1d55dce5cdc070ad7fe59"
193
+
194
+ [[package]]
195
+ name = "zerocopy"
196
+ version = "0.8.31"
197
+ source = "registry+https://github.com/rust-lang/crates.io-index"
198
+ checksum = "fd74ec98b9250adb3ca554bdde269adf631549f51d8a8f8f0a10b50f1cb298c3"
199
+ dependencies = [
200
+ "zerocopy-derive",
201
+ ]
202
+
203
+ [[package]]
204
+ name = "zerocopy-derive"
205
+ version = "0.8.31"
206
+ source = "registry+https://github.com/rust-lang/crates.io-index"
207
+ checksum = "d8a8d209fdf45cf5138cbb5a506f6b52522a25afccc534d1475dad8e31105c6a"
208
+ dependencies = [
209
+ "proc-macro2",
210
+ "quote",
211
+ "syn",
212
+ ]
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/base64ct-1.8.3/Cargo.toml ADDED
@@ -0,0 +1,101 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
2
+ #
3
+ # When uploading crates to the registry Cargo will automatically
4
+ # "normalize" Cargo.toml files for maximal compatibility
5
+ # with all versions of Cargo and also rewrite `path` dependencies
6
+ # to registry (e.g., crates.io) dependencies.
7
+ #
8
+ # If you are reading this file be aware that the original Cargo.toml
9
+ # will likely look very different (and much more reasonable).
10
+ # See Cargo.toml.orig for the original contents.
11
+
12
+ [package]
13
+ edition = "2024"
14
+ rust-version = "1.85"
15
+ name = "base64ct"
16
+ version = "1.8.3"
17
+ authors = ["RustCrypto Developers"]
18
+ build = false
19
+ autolib = false
20
+ autobins = false
21
+ autoexamples = false
22
+ autotests = false
23
+ autobenches = false
24
+ description = """
25
+ Pure Rust implementation of Base64 (RFC 4648) which avoids any usages of
26
+ data-dependent branches/LUTs and thereby provides portable "best effort"
27
+ constant-time operation and embedded-friendly no_std support
28
+ """
29
+ homepage = "https://github.com/RustCrypto/formats/tree/master/base64ct"
30
+ documentation = "https://docs.rs/base64ct"
31
+ readme = "README.md"
32
+ keywords = [
33
+ "crypto",
34
+ "base64",
35
+ "pem",
36
+ "phc",
37
+ ]
38
+ categories = [
39
+ "cryptography",
40
+ "encoding",
41
+ "no-std",
42
+ "parser-implementations",
43
+ ]
44
+ license = "Apache-2.0 OR MIT"
45
+ repository = "https://github.com/RustCrypto/formats"
46
+ resolver = "2"
47
+
48
+ [package.metadata.docs.rs]
49
+ all-features = true
50
+ rustdoc-args = [
51
+ "--cfg",
52
+ "docsrs",
53
+ ]
54
+
55
+ [features]
56
+ alloc = []
57
+ std = ["alloc"]
58
+
59
+ [lib]
60
+ name = "base64ct"
61
+ path = "src/lib.rs"
62
+
63
+ [[test]]
64
+ name = "bcrypt"
65
+ path = "tests/bcrypt.rs"
66
+
67
+ [[test]]
68
+ name = "crypt"
69
+ path = "tests/crypt.rs"
70
+
71
+ [[test]]
72
+ name = "pbkdf2"
73
+ path = "tests/pbkdf2.rs"
74
+
75
+ [[test]]
76
+ name = "proptests"
77
+ path = "tests/proptests.rs"
78
+
79
+ [[test]]
80
+ name = "shacrypt"
81
+ path = "tests/shacrypt.rs"
82
+
83
+ [[test]]
84
+ name = "standard"
85
+ path = "tests/standard.rs"
86
+
87
+ [[test]]
88
+ name = "url"
89
+ path = "tests/url.rs"
90
+
91
+ [[bench]]
92
+ name = "mod"
93
+ path = "benches/mod.rs"
94
+
95
+ [dev-dependencies.base64]
96
+ version = "0.22"
97
+
98
+ [dev-dependencies.proptest]
99
+ version = "1.6"
100
+ features = ["std"]
101
+ default-features = false
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/base64ct-1.8.3/Cargo.toml.orig ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [package]
2
+ name = "base64ct"
3
+ version = "1.8.3"
4
+ description = """
5
+ Pure Rust implementation of Base64 (RFC 4648) which avoids any usages of
6
+ data-dependent branches/LUTs and thereby provides portable "best effort"
7
+ constant-time operation and embedded-friendly no_std support
8
+ """
9
+ authors = ["RustCrypto Developers"]
10
+ license = "Apache-2.0 OR MIT"
11
+ documentation = "https://docs.rs/base64ct"
12
+ homepage = "https://github.com/RustCrypto/formats/tree/master/base64ct"
13
+ repository = "https://github.com/RustCrypto/formats"
14
+ categories = ["cryptography", "encoding", "no-std", "parser-implementations"]
15
+ keywords = ["crypto", "base64", "pem", "phc"]
16
+ readme = "README.md"
17
+ edition = "2024"
18
+ rust-version = "1.85"
19
+
20
+ [dev-dependencies]
21
+ base64 = "0.22"
22
+ proptest = { version = "1.6", default-features = false, features = ["std"] }
23
+
24
+ [features]
25
+ alloc = []
26
+ std = ["alloc"]
27
+
28
+ [package.metadata.docs.rs]
29
+ all-features = true
30
+ rustdoc-args = ["--cfg", "docsrs"]
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/base64ct-1.8.3/LICENSE-APACHE ADDED
@@ -0,0 +1,201 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright [yyyy] [name of copyright owner]
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/base64ct-1.8.3/LICENSE-MIT ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Copyright (c) 2014 Steve "Sc00bz" Thomas (steve at tobtu dot com)
2
+ Copyright (c) 2021-2025 The RustCrypto Project Developers
3
+
4
+ Permission is hereby granted, free of charge, to any
5
+ person obtaining a copy of this software and associated
6
+ documentation files (the "Software"), to deal in the
7
+ Software without restriction, including without
8
+ limitation the rights to use, copy, modify, merge,
9
+ publish, distribute, sublicense, and/or sell copies of
10
+ the Software, and to permit persons to whom the Software
11
+ is furnished to do so, subject to the following
12
+ conditions:
13
+
14
+ The above copyright notice and this permission notice
15
+ shall be included in all copies or substantial portions
16
+ of the Software.
17
+
18
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF
19
+ ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
20
+ TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
21
+ PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT
22
+ SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
23
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
24
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
25
+ IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
26
+ DEALINGS IN THE SOFTWARE.
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/base64ct-1.8.3/README.md ADDED
@@ -0,0 +1,87 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # [RustCrypto]: Constant-Time Base64
2
+
3
+ [![crate][crate-image]][crate-link]
4
+ [![Docs][docs-image]][docs-link]
5
+ [![Build Status][build-image]][build-link]
6
+ ![Apache2/MIT licensed][license-image]
7
+ ![Rust Version][rustc-image]
8
+ [![Project Chat][chat-image]][chat-link]
9
+
10
+ Pure Rust implementation of Base64 ([RFC 4648]).
11
+
12
+ Implements multiple Base64 alphabets without data-dependent branches or lookup
13
+ tables, thereby providing portable "best effort" constant-time operation.
14
+
15
+ Supports `no_std` environments and avoids heap allocations in the core API
16
+ (but also provides optional `alloc` support for convenience).
17
+
18
+ [Documentation][docs-link]
19
+
20
+ ## About
21
+
22
+ This crate implements several Base64 alphabets in constant-time for sidechannel
23
+ resistance, aimed at purposes like encoding/decoding the "PEM" format used to
24
+ store things like cryptographic private keys (i.e. in the [`pem-rfc7468`] crate).
25
+
26
+ The paper [Util::Lookup: Exploiting key decoding in cryptographic libraries][Util::Lookup]
27
+ demonstrates how the leakage from non-constant-time Base64 parsers can be used
28
+ to practically extract RSA private keys from SGX enclaves.
29
+
30
+ The padded variants require (`=`) padding. Unpadded variants expressly
31
+ reject such padding.
32
+
33
+ Whitespace is expressly disallowed, with the exception of the
34
+ [`Decoder::new_wrapped`] and [`Encoder::new_wrapped`] modes which provide
35
+ fixed-width line wrapping.
36
+
37
+ ## Supported Base64 variants
38
+
39
+ - Standard Base64: `[A-Z]`, `[a-z]`, `[0-9]`, `+`, `/`
40
+ - URL-safe Base64: `[A-Z]`, `[a-z]`, `[0-9]`, `-`, `_`
41
+ - bcrypt Base64: `.`, `/`, `[A-Z]`, `[a-z]`, `[0-9]`
42
+ - `crypt(3)` Base64: `.`, `-`, `[0-9]`, `[A-Z]`, `[a-z]`
43
+ - PBKDF2 Base64: `[A-Z]`, `[a-z]`, `[0-9]`, `.`, `/`
44
+
45
+ ## Minimum Supported Rust Version (MSRV) Policy
46
+
47
+ MSRV increases are not considered breaking changes and can happen in patch releases.
48
+
49
+ The crate MSRV accounts for all supported targets and crate feature combinations, excluding
50
+ explicitly unstable features.
51
+
52
+ ## License
53
+
54
+ Licensed under either of:
55
+
56
+ * [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0)
57
+ * [MIT license](http://opensource.org/licenses/MIT)
58
+
59
+ at your option.
60
+
61
+ ### Contribution
62
+
63
+ Unless you explicitly state otherwise, any contribution intentionally submitted
64
+ for inclusion in the work by you, as defined in the Apache-2.0 license, shall be
65
+ dual licensed as above, without any additional terms or conditions.
66
+
67
+ [//]: # (badges)
68
+
69
+ [crate-image]: https://img.shields.io/crates/v/base64ct?logo=rust
70
+ [crate-link]: https://crates.io/crates/base64ct
71
+ [docs-image]: https://docs.rs/base64ct/badge.svg
72
+ [docs-link]: https://docs.rs/base64ct/
73
+ [build-image]: https://github.com/RustCrypto/formats/actions/workflows/base64ct.yml/badge.svg
74
+ [build-link]: https://github.com/RustCrypto/formats/actions/workflows/base64ct.yml
75
+ [license-image]: https://img.shields.io/badge/license-Apache2.0/MIT-blue.svg
76
+ [rustc-image]: https://img.shields.io/badge/rustc-1.85+-blue.svg
77
+ [chat-image]: https://img.shields.io/badge/zulip-join_chat-blue.svg
78
+ [chat-link]: https://rustcrypto.zulipchat.com/#narrow/stream/300570-formats
79
+
80
+ [//]: # (links)
81
+
82
+ [RustCrypto]: https://github.com/rustcrypto
83
+ [RFC 4648]: https://tools.ietf.org/html/rfc4648
84
+ [`pem-rfc7468`]: https://github.com/RustCrypto/formats/tree/master/pem-rfc7468
85
+ [Util::Lookup]: https://arxiv.org/pdf/2108.04600.pdf
86
+ [`Decoder::new_wrapped`]: https://docs.rs/base64ct/latest/base64ct/struct.Decoder.html#method.new_wrapped
87
+ [`Encoder::new_wrapped`]: https://docs.rs/base64ct/latest/base64ct/struct.Encoder.html#method.new_wrapped
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/buf_redux-0.8.4/.cargo-ok ADDED
@@ -0,0 +1 @@
 
 
1
+ {"v":1}
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/buf_redux-0.8.4/.cargo_vcs_info.json ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ {
2
+ "git": {
3
+ "sha1": "4c59a0f6c423f80bcd099f543c547d449d92b1d3"
4
+ }
5
+ }
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/buf_redux-0.8.4/.gitignore ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Compiled files
2
+ *.o
3
+ *.so
4
+ *.rlib
5
+ *.dll
6
+
7
+ # Executables
8
+ *.exe
9
+
10
+ # Generated by Cargo
11
+ /target/
12
+
13
+ # Remove Cargo.lock from gitignore if creating an executable, leave it for libraries
14
+ # More information here http://doc.crates.io/guide.html#cargotoml-vs-cargolock
15
+ Cargo.lock
16
+
17
+ .idea/
18
+ .lock
19
+ *.iml
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/buf_redux-0.8.4/.travis.yml ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ language: rust
2
+ sudo: false
3
+ os:
4
+ - linux
5
+ - osx
6
+ rust:
7
+ - stable
8
+ - beta
9
+ - nightly
10
+ matrix:
11
+ allow_failures:
12
+ - rust: nightly
13
+ fast_finish: true
14
+
15
+ script:
16
+ - |
17
+ if [ ${TRAVIS_RUST_VERSION} = "nightly" ]; then
18
+ cargo build --verbose $ARGS --features "nightly";
19
+ cargo test --verbose --features "nightly";
20
+ cargo doc --verbose --features "nightly";
21
+ fi
22
+ - cargo build --verbose
23
+ - cargo test --verbose
24
+ - cargo doc --verbose
25
+ - cargo build --verbose --no-default-features
26
+ - cargo test --verbose --no-default-features
27
+ - cargo doc --verbose --no-default-features
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/buf_redux-0.8.4/Cargo.toml ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
2
+ #
3
+ # When uploading crates to the registry Cargo will automatically
4
+ # "normalize" Cargo.toml files for maximal compatibility
5
+ # with all versions of Cargo and also rewrite `path` dependencies
6
+ # to registry (e.g., crates.io) dependencies
7
+ #
8
+ # If you believe there's an error in this file please file an
9
+ # issue against the rust-lang/cargo repository. If you're
10
+ # editing this file be aware that the upstream Cargo.toml
11
+ # will likely look very different (and much more reasonable)
12
+
13
+ [package]
14
+ name = "buf_redux"
15
+ version = "0.8.4"
16
+ authors = ["Austin Bonander <austin.bonander@gmail.com>"]
17
+ description = "Drop-in replacements for buffered I/O in `std::io` with extra features."
18
+ documentation = "https://docs.rs/buf_redux"
19
+ readme = "README.md"
20
+ keywords = ["io", "buffer", "buffered"]
21
+ license = "MIT OR Apache-2.0"
22
+ repository = "https://github.com/abonander/buf_redux"
23
+ [dependencies.memchr]
24
+ version = "2.0"
25
+
26
+ [dependencies.safemem]
27
+ version = "0.3"
28
+
29
+ [features]
30
+ default = ["slice-deque"]
31
+ nightly = ["slice-deque/unstable"]
32
+ [target."cfg(any(unix, windows))".dependencies.slice-deque]
33
+ version = "0.2"
34
+ optional = true
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/buf_redux-0.8.4/Cargo.toml.orig ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [package]
2
+ name = "buf_redux"
3
+ version = "0.8.4"
4
+ authors = ["Austin Bonander <austin.bonander@gmail.com>"]
5
+
6
+ description = "Drop-in replacements for buffered I/O in `std::io` with extra features."
7
+
8
+ keywords = ["io", "buffer", "buffered"]
9
+
10
+ documentation = "https://docs.rs/buf_redux"
11
+
12
+ repository = "https://github.com/abonander/buf_redux"
13
+
14
+ license = "MIT OR Apache-2.0"
15
+
16
+ readme = "README.md"
17
+
18
+ [dependencies]
19
+ safemem = "0.3"
20
+ memchr = "2.0"
21
+
22
+ # `slice_deque` is only supported on platforms with virtual memory
23
+ [target.'cfg(any(unix, windows))'.dependencies.slice-deque]
24
+ version = "0.2"
25
+ optional = true
26
+
27
+ [features]
28
+ nightly = ["slice-deque/unstable"]
29
+ default = ["slice-deque"]
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/buf_redux-0.8.4/LICENSE-APACHE ADDED
@@ -0,0 +1,201 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright 2016-2018 Austin Bonander and The Rust Project Developers
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/buf_redux-0.8.4/LICENSE-MIT ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ The MIT License (MIT)
2
+ Copyright (c) 2016 Austin Bonander and The Rust Project Developers
3
+
4
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
5
+
6
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
7
+
8
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/buf_redux-0.8.4/README.md ADDED
@@ -0,0 +1,152 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # buf\_re(a)dux
2
+ [![Travis](https://img.shields.io/travis/abonander/buf_redux.svg)](https://travis-ci.org/abonander/buf_redux)
3
+ [![Crates.io](https://img.shields.io/crates/v/buf_redux.svg)](https://crates.io/crates/buf_redux)
4
+ [![Crates.io](https://img.shields.io/crates/d/buf_redux.svg)](https://crates.io/crates/buf_redux)
5
+ [![Crates.io](https://img.shields.io/crates/l/buf_redux.svg)](https://crates.io/crates/buf_redux)
6
+
7
+ Drop-in replacements for buffered I/O types in `std::io`.
8
+
9
+ These replacements retain the method names/signatures and implemented traits of their stdlib
10
+ counterparts, making replacement as simple as swapping the import of the type.
11
+
12
+ ### More Direct Control
13
+
14
+ All replacement types provide methods to:
15
+ * Increase the capacity of the buffer
16
+ * Get the number of available bytes as well as the total capacity of the buffer
17
+ * Consume the wrapper without losing data
18
+
19
+ `BufReader` provides methods to:
20
+ * Access the buffer through an `&`-reference without performing I/O
21
+ * Force unconditional reads into the buffer
22
+ * Get a `Read` adapter which empties the buffer and then pulls from the inner reader directly
23
+ * Shuffle bytes down to the beginning of the buffer to make room for more reading
24
+ * Get inner reader and trimmed buffer with the remaining data
25
+
26
+ `BufWriter` and `LineWriter` provide methods to:
27
+ * Flush the buffer and unwrap the inner writer unconditionally.
28
+
29
+ ### More Sensible and Customizable Buffering Behavior
30
+ Tune the behavior of the buffer to your specific use-case using the types in the
31
+ `policy` module:
32
+
33
+ * Refine `BufReader`'s behavior by implementing the `ReaderPolicy` trait or use
34
+ an existing implementation like `MinBuffered` to ensure the buffer always contains
35
+ a minimum number of bytes (until the underlying reader is empty).
36
+
37
+ * Refine `BufWriter`'s behavior by implementing the `WriterPolicy` trait
38
+ or use an existing implementation like `FlushOn` to flush when a particular byte
39
+ appears in the buffer (used to implement `LineWriter`).
40
+
41
+
42
+ ## Usage
43
+
44
+ #### [Documentation](http://docs.rs/buf_redux/)
45
+
46
+ `Cargo.toml`:
47
+ ```toml
48
+ [dependencies]
49
+ buf_redux = "0.2"
50
+ ```
51
+
52
+ `lib.rs` or `main.rs`:
53
+ ```rust
54
+ extern crate buf_redux;
55
+ ```
56
+
57
+ And then simply swap the import of the types you want to replace:
58
+
59
+ #### `BufReader`:
60
+ ```
61
+ - use std::io::BufReader;
62
+ + use buf_redux::BufReader;
63
+ ```
64
+ #### `BufWriter`:
65
+ ```
66
+ - use std::io::BufWriter;
67
+ + use buf_redux::BufWriter;
68
+ ```
69
+
70
+ #### `LineWriter`:
71
+ ```
72
+ - use std::io::LineWriter;
73
+ + use buf_redux::LineWriter;
74
+ ```
75
+
76
+ ### Using `MinBuffered`
77
+ The new `policy::MinBuffered` reader-policy can be used to ensure that `BufReader` always has at least a
78
+ certain number of bytes in its buffer. This can be useful for parsing applications that require a
79
+ certain amount of lookahead.
80
+
81
+ ```rust
82
+ use buf_redux::BufReader;
83
+ use buf_redux::policy::MinBuffered;
84
+ use std::io::{BufRead, Cursor};
85
+
86
+ let data = (1 .. 16).collect::<Vec<u8>>();
87
+
88
+ // normally you should use `BufReader::new()` or give a capacity of several KiB or more
89
+ let mut reader = BufReader::with_capacity(8, Cursor::new(data))
90
+ // always at least 4 bytes in the buffer (or until the source is empty)
91
+ .set_policy(MinBuffered(4)); // always at least 4 bytes in the buffer
92
+
93
+ // first buffer fill, same as `std::io::BufReader`
94
+ assert_eq!(reader.fill_buf().unwrap(), &[1, 2, 3, 4, 5, 6, 7, 8]);
95
+ reader.consume(3);
96
+
97
+ // enough data in the buffer, another read isn't done yet
98
+ assert_eq!(reader.fill_buf().unwrap(), &[4, 5, 6, 7, 8]);
99
+ reader.consume(4);
100
+
101
+ // `std::io::BufReader` would return `&[8]`
102
+ assert_eq!(reader.fill_buf().unwrap(), &[8, 9, 10, 11, 12, 13, 14, 15]);
103
+ reader.consume(5);
104
+
105
+ // no data left in the reader
106
+ assert_eq!(reader.fill_buf().unwrap(), &[13, 14, 15]);
107
+ ```
108
+
109
+ ### Note: Making Room / Ringbuffers / `slice-deque` Feature
110
+ With policies like `MinBuffered`, that will read into the buffer and consume bytes from it without completely
111
+ emptying it, normal buffer handling can run out of room to read/write into as all the free space is at the
112
+ head of the buffer. If the amount of data in the buffer is small, you can call `.make_room()` on the buffered
113
+ type to make more room for reading. `MinBuffered` will do this automatically.
114
+
115
+ Instead of this, with the `slice-deque` feature, you can instead have your buffered type allocate a *ringbuffer*,
116
+ simply by using the `::new_ringbuf()` or `::with_capacity_ringbuf()` constructors instead of
117
+ `::new()` or `with_capacity()`, respectively. With a ringbuffer, consuming/flushing bytes
118
+ from a buffer instantly makes room for more reading/writing at the end.
119
+ However, this has some caveats:
120
+
121
+ * It is only available on target platforms with virtual memory support, namely fully fledged
122
+ OSes such as Windows and Unix-derivative platforms like Linux, OS X, BSD variants, etc.
123
+
124
+ * The default capacity varies based on platform, and custom capacities are rounded up to a
125
+ multiple of their minimum size, typically the page size of the platform.
126
+ Windows' minimum size is comparably quite large (**64 KiB**) due to some legacy reasons,
127
+ so this may be less optimal than the default capacity for a normal buffer (8 KiB) for some
128
+ use-cases.
129
+
130
+ * Due to the nature of the virtual-memory trick, the virtual address space the buffer
131
+ allocates will be double its capacity. This means that your program will *appear* to use more
132
+ memory than it would if it was using a normal buffer of the same capacity. The physical memory
133
+ usage will be the same in both cases, but if address space is at a premium in your application
134
+ (32-bit targets) then this may be a concern.
135
+
136
+ It is up to you to decide if the benefits outweigh the costs. With a policy like `MinBuffered`,
137
+ it could significantly improve performance.
138
+
139
+ ## License
140
+
141
+ Licensed under either of
142
+
143
+ * Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)
144
+ * MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)
145
+
146
+ at your option.
147
+
148
+ ### Contribution
149
+
150
+ Unless you explicitly state otherwise, any contribution intentionally submitted
151
+ for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any
152
+ additional terms or conditions.
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cast-0.3.0/.cargo-ok ADDED
@@ -0,0 +1 @@
 
 
1
+ {"v":1}
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cast-0.3.0/.cargo_vcs_info.json ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ {
2
+ "git": {
3
+ "sha1": "052288097de1846b938e854e27845a93a6f4b59d"
4
+ }
5
+ }
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cast-0.3.0/.gitignore ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ *.rs.bk
2
+ Cargo.lock
3
+ target/*
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cast-0.3.0/CHANGELOG.md ADDED
@@ -0,0 +1,110 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Change Log
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](http://keepachangelog.com/)
6
+ and this project adheres to [Semantic Versioning](http://semver.org/).
7
+
8
+ ## [Unreleased]
9
+
10
+ ## [v0.3.0] - 2021-09-04
11
+
12
+ ### Changed
13
+
14
+ - (breaking change) The guaranteed MSRV is now 1.31.0. ([#40])
15
+ - (breaking change) The `std` Cargo feature is no longer enabled by default. ([#44])
16
+ - 128-bit integer support is now always available by default. ([#37])
17
+
18
+ [#37]: https://github.com/japaric/cast.rs/pull/37
19
+ [#40]: https://github.com/japaric/cast.rs/pull/40
20
+ [#44]: https://github.com/japaric/cast.rs/pull/44
21
+
22
+ ### Fixed
23
+
24
+ - fixed casting `255f32` to `u8` returning `Error::Overflow` ([#23], [#42])
25
+ - fixed intent of promote-and-back tests ([#39], [#43])
26
+
27
+ [#23]: https://github.com/japaric/cast.rs/issues/23
28
+ [#39]: https://github.com/japaric/cast.rs/issues/39
29
+ [#42]: https://github.com/japaric/cast.rs/pull/42
30
+ [#43]: https://github.com/japaric/cast.rs/pull/43
31
+
32
+ ### Removed
33
+
34
+ - (breaking change) The `x128` Cargo feature has been removed
35
+ - removed `rustc_version` and `semver` build dependencies ([#35], [#37])
36
+ - removed all internal use of `unsafe` code ([#41])
37
+
38
+ [#35]: https://github.com/japaric/cast.rs/issues/35
39
+ [#41]: https://github.com/japaric/cast.rs/pull/41
40
+
41
+ ## [v0.2.7] - 2021-07-03
42
+
43
+ ### Changed
44
+
45
+ - Bumped `rustc_version` dependency to v0.4.0
46
+
47
+ ## [v0.2.6] - 2021-05-15
48
+
49
+ ### Changed
50
+
51
+ - Bumped `rustc_version` dependency
52
+
53
+ ## [v0.2.5] - 2021-04-13
54
+
55
+ ### Fixed
56
+
57
+ - Build on platforms with 32-bit pointers
58
+
59
+ ## [v0.2.4] - 2021-04-11 - YANKED
60
+
61
+ ## [v0.2.3] - 2018-11-17
62
+
63
+ ### Changed
64
+
65
+ - Documented the guaranteed MSRV to be 1.13
66
+ - The `x128` feature now works on *stable* Rust 1.26+
67
+
68
+ ### Fixed
69
+
70
+ - Overflow and underflow checks when casting a float to an unsigned integer
71
+
72
+ ## [v0.2.2] - 2017-05-07
73
+
74
+ ### Fixed
75
+
76
+ - UB in the checked cast from `f32` to `u128`.
77
+
78
+ ## [v0.2.1] - 2017-05-06
79
+
80
+ ### Added
81
+
82
+ - Support for 128-bit integers, behind the `x128` Cargo feature (nightly
83
+ needed).
84
+
85
+ ## [v0.2.0] - 2017-02-08
86
+
87
+ ### Added
88
+
89
+ - Now `cast::Error` implements the `std::error::Error` trait among other traits
90
+ like `Display`, `Clone`, etc.
91
+
92
+ ### Changed
93
+
94
+ - [breaking-change] This crate now depends on the `std` crate by default but you
95
+ can make it `no_std` by opting out of the `std` Cargo feature.
96
+
97
+ ## v0.1.0 - 2016-02-07
98
+
99
+ Initial release
100
+
101
+ [Unreleased]: https://github.com/japaric/cast.rs/compare/v0.3.0...HEAD
102
+ [v0.3.0]: https://github.com/japaric/cast.rs/compare/v0.2.7...v0.3.0
103
+ [v0.2.7]: https://github.com/japaric/cast.rs/compare/v0.2.6...v0.2.7
104
+ [v0.2.6]: https://github.com/japaric/cast.rs/compare/v0.2.5...v0.2.6
105
+ [v0.2.5]: https://github.com/japaric/cast.rs/compare/v0.2.4...v0.2.5
106
+ [v0.2.4]: https://github.com/japaric/cast.rs/compare/v0.2.3...v0.2.4
107
+ [v0.2.3]: https://github.com/japaric/cast.rs/compare/v0.2.2...v0.2.3
108
+ [v0.2.2]: https://github.com/japaric/cast.rs/compare/v0.2.1...v0.2.2
109
+ [v0.2.1]: https://github.com/japaric/cast.rs/compare/v0.2.0...v0.2.1
110
+ [v0.2.0]: https://github.com/japaric/cast.rs/compare/v0.1.0...v0.2.0
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cast-0.3.0/Cargo.toml ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
2
+ #
3
+ # When uploading crates to the registry Cargo will automatically
4
+ # "normalize" Cargo.toml files for maximal compatibility
5
+ # with all versions of Cargo and also rewrite `path` dependencies
6
+ # to registry (e.g., crates.io) dependencies
7
+ #
8
+ # If you believe there's an error in this file please file an
9
+ # issue against the rust-lang/cargo repository. If you're
10
+ # editing this file be aware that the upstream Cargo.toml
11
+ # will likely look very different (and much more reasonable)
12
+
13
+ [package]
14
+ edition = "2018"
15
+ name = "cast"
16
+ version = "0.3.0"
17
+ authors = ["Jorge Aparicio <jorge@japaric.io>"]
18
+ description = "Ergonomic, checked cast functions for primitive types"
19
+ documentation = "https://docs.rs/cast"
20
+ keywords = ["checked", "cast", "primitive", "integer", "float"]
21
+ license = "MIT OR Apache-2.0"
22
+ repository = "https://github.com/japaric/cast.rs"
23
+ [dev-dependencies.quickcheck]
24
+ version = "1.0.3"
25
+
26
+ [features]
27
+ std = []
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cast-0.3.0/Cargo.toml.orig ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [package]
2
+ authors = ["Jorge Aparicio <jorge@japaric.io>"]
3
+ description = "Ergonomic, checked cast functions for primitive types"
4
+ documentation = "https://docs.rs/cast"
5
+ keywords = ["checked", "cast", "primitive", "integer", "float"]
6
+ license = "MIT OR Apache-2.0"
7
+ name = "cast"
8
+ repository = "https://github.com/japaric/cast.rs"
9
+ version = "0.3.0"
10
+ edition = "2018"
11
+
12
+ [features]
13
+ # Enable this to get a std::error::Error impl for convenient use with other
14
+ # libraries.
15
+ std = []
16
+
17
+ [dev-dependencies]
18
+ quickcheck = "1.0.3"
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cast-0.3.0/LICENSE-APACHE ADDED
@@ -0,0 +1,201 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright [yyyy] [name of copyright owner]
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cast-0.3.0/LICENSE-MIT ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Copyright (c) 2014-2017 Jorge Aparicio
2
+
3
+ Permission is hereby granted, free of charge, to any
4
+ person obtaining a copy of this software and associated
5
+ documentation files (the "Software"), to deal in the
6
+ Software without restriction, including without
7
+ limitation the rights to use, copy, modify, merge,
8
+ publish, distribute, sublicense, and/or sell copies of
9
+ the Software, and to permit persons to whom the Software
10
+ is furnished to do so, subject to the following
11
+ conditions:
12
+
13
+ The above copyright notice and this permission notice
14
+ shall be included in all copies or substantial portions
15
+ of the Software.
16
+
17
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF
18
+ ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
19
+ TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
20
+ PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT
21
+ SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
22
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
23
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
24
+ IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
25
+ DEALINGS IN THE SOFTWARE.
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cast-0.3.0/README.md ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [![crates.io](https://img.shields.io/crates/d/cast.svg)](https://crates.io/crates/cast)
2
+ [![crates.io](https://img.shields.io/crates/v/cast.svg)](https://crates.io/crates/cast)
3
+
4
+ # `cast`
5
+
6
+ > Ergonomic, checked cast functions for primitive types
7
+
8
+ ``` rust
9
+ extern crate cast;
10
+
11
+ // `u8` and `u16` are checked cast functions, use them to cast from any numeric
12
+ // primitive to `u8`/`u16` respectively
13
+ use cast::{u8, u16, Error};
14
+
15
+ // Infallible operations, like integer promotion, are equivalent to a normal
16
+ // cast with `as`
17
+ assert_eq!(u16(0u8), 0u16);
18
+
19
+ // Everything else will return a `Result` depending on the success of the
20
+ // operation
21
+ assert_eq!(u8(0u16), Ok(0u8));
22
+ assert_eq!(u8(256u16), Err(Error::Overflow));
23
+ assert_eq!(u8(-1i8), Err(Error::Underflow));
24
+ assert_eq!(u8(1. / 0.), Err(Error::Infinite));
25
+ assert_eq!(u8(0. / 0.), Err(Error::NaN));
26
+ ```
27
+
28
+ ## [API docs](https://docs.rs/cast)
29
+
30
+ ## License
31
+
32
+ Licensed under either of
33
+
34
+ - Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or
35
+ http://www.apache.org/licenses/LICENSE-2.0)
36
+ - MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)
37
+
38
+ at your option.
39
+
40
+ ### Contribution
41
+
42
+ Unless you explicitly state otherwise, any contribution intentionally submitted
43
+ for inclusion in the work by you, as defined in the Apache-2.0 license, shall be
44
+ dual licensed as above, without any additional terms or conditions.
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/chunked_transfer-1.5.0/.cargo-ok ADDED
@@ -0,0 +1 @@
 
 
1
+ {"v":1}
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/chunked_transfer-1.5.0/.cargo_vcs_info.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "git": {
3
+ "sha1": "d4637cda63ec2da7052bba9d4d37f69cbeae9ab8"
4
+ },
5
+ "path_in_vcs": ""
6
+ }
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/chunked_transfer-1.5.0/.gitignore ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ target
2
+ Cargo.lock
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/chunked_transfer-1.5.0/Cargo.toml ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
2
+ #
3
+ # When uploading crates to the registry Cargo will automatically
4
+ # "normalize" Cargo.toml files for maximal compatibility
5
+ # with all versions of Cargo and also rewrite `path` dependencies
6
+ # to registry (e.g., crates.io) dependencies.
7
+ #
8
+ # If you are reading this file be aware that the original Cargo.toml
9
+ # will likely look very different (and much more reasonable).
10
+ # See Cargo.toml.orig for the original contents.
11
+
12
+ [package]
13
+ edition = "2018"
14
+ name = "chunked_transfer"
15
+ version = "1.5.0"
16
+ authors = ["Corey Farwell <coreyf@rwell.org>"]
17
+ description = "Encoder and decoder for HTTP chunked transfer coding (RFC 7230 § 4.1)"
18
+ readme = "README.md"
19
+ license = "MIT OR Apache-2.0"
20
+ repository = "https://github.com/frewsxcv/rust-chunked-transfer"
21
+
22
+ [[bench]]
23
+ name = "encode"
24
+ harness = false
25
+
26
+ [dev-dependencies.criterion]
27
+ version = "0.3"
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/chunked_transfer-1.5.0/Cargo.toml.orig ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [package]
2
+ name = "chunked_transfer"
3
+ version = "1.5.0"
4
+ authors = ["Corey Farwell <coreyf@rwell.org>"]
5
+ license = "MIT OR Apache-2.0"
6
+ repository = "https://github.com/frewsxcv/rust-chunked-transfer"
7
+ description = "Encoder and decoder for HTTP chunked transfer coding (RFC 7230 § 4.1)"
8
+ edition = "2018"
9
+
10
+ [dev-dependencies]
11
+ criterion = "0.3"
12
+
13
+ [[bench]]
14
+ name = "encode"
15
+ harness = false
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/chunked_transfer-1.5.0/LICENSE-APACHE ADDED
@@ -0,0 +1,201 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright [yyyy] [name of copyright owner]
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/chunked_transfer-1.5.0/LICENSE-MIT ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2015 The tiny-http Contributors
4
+ Copyright (c) 2015 The rust-chunked-transfer Contributors
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ of this software and associated documentation files (the "Software"), to deal
8
+ in the Software without restriction, including without limitation the rights
9
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ copies of the Software, and to permit persons to whom the Software is
11
+ furnished to do so, subject to the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be included in all
14
+ copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
+ SOFTWARE.
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/chunked_transfer-1.5.0/README.md ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # rust-chunked-transfer
2
+
3
+ [Documentation](https://docs.rs/chunked_transfer/)
4
+
5
+ Encoder and decoder for HTTP chunked transfer coding. For more information about chunked transfer encoding:
6
+
7
+ * [RFC 7230 § 4.1](https://tools.ietf.org/html/rfc7230#section-4.1)
8
+ * [RFC 2616 § 3.6.1](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.6.1) (deprecated)
9
+ * [Wikipedia: Chunked transfer encoding](https://en.wikipedia.org/wiki/Chunked_transfer_encoding)
10
+
11
+ ## Example
12
+
13
+ ### Decoding
14
+
15
+ ```rust
16
+ use chunked_transfer::Decoder;
17
+ use std::io::Read;
18
+
19
+ let encoded = b"3\r\nhel\r\nb\r\nlo world!!!\r\n0\r\n\r\n";
20
+ let mut decoded = String::new();
21
+
22
+ let mut decoder = Decoder::new(encoded as &[u8]);
23
+ decoder.read_to_string(&mut decoded);
24
+
25
+ assert_eq!(decoded, "hello world!!!");
26
+ ```
27
+
28
+ ### Encoding
29
+
30
+ ```rust
31
+ use chunked_transfer::Encoder;
32
+ use std::io::Write;
33
+
34
+ let mut decoded = "hello world";
35
+ let mut encoded: Vec<u8> = vec![];
36
+
37
+ {
38
+ let mut encoder = Encoder::with_chunks_size(&mut encoded, 5);
39
+ encoder.write_all(decoded.as_bytes());
40
+ }
41
+
42
+ assert_eq!(encoded, b"5\r\nhello\r\n5\r\n worl\r\n1\r\nd\r\n0\r\n\r\n");
43
+ ```
44
+
45
+ ## Authors
46
+
47
+ * [tomaka](https://github.com/tomaka)
48
+ * [frewsxcv](https://github.com/frewsxcv)
49
+
50
+ # License
51
+
52
+ Licensed under either of:
53
+
54
+ * Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
55
+ * MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
56
+
57
+ ## Contribution
58
+
59
+ Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ciborium-0.2.2/.cargo-ok ADDED
@@ -0,0 +1 @@
 
 
1
+ {"v":1}
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ciborium-0.2.2/.cargo_vcs_info.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "git": {
3
+ "sha1": "fdf3ec5c53256000f8e12f06c361ca18026a8d99"
4
+ },
5
+ "path_in_vcs": "ciborium"
6
+ }
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ciborium-0.2.2/Cargo.toml ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
2
+ #
3
+ # When uploading crates to the registry Cargo will automatically
4
+ # "normalize" Cargo.toml files for maximal compatibility
5
+ # with all versions of Cargo and also rewrite `path` dependencies
6
+ # to registry (e.g., crates.io) dependencies.
7
+ #
8
+ # If you are reading this file be aware that the original Cargo.toml
9
+ # will likely look very different (and much more reasonable).
10
+ # See Cargo.toml.orig for the original contents.
11
+
12
+ [package]
13
+ edition = "2021"
14
+ rust-version = "1.58"
15
+ name = "ciborium"
16
+ version = "0.2.2"
17
+ authors = ["Nathaniel McCallum <npmccallum@profian.com>"]
18
+ description = "serde implementation of CBOR using ciborium-basic"
19
+ homepage = "https://github.com/enarx/ciborium"
20
+ readme = "README.md"
21
+ keywords = ["cbor", "serde"]
22
+ categories = ["data-structures", "embedded", "encoding", "no-std", "parsing"]
23
+ license = "Apache-2.0"
24
+ repository = "https://github.com/enarx/ciborium"
25
+ [package.metadata.docs.rs]
26
+ all-features = true
27
+ [dependencies.ciborium-io]
28
+ version = "0.2.2"
29
+ features = ["alloc"]
30
+
31
+ [dependencies.ciborium-ll]
32
+ version = "0.2.2"
33
+
34
+ [dependencies.serde]
35
+ version = "1.0.100"
36
+ features = ["alloc", "derive"]
37
+ default-features = false
38
+ [dev-dependencies.hex]
39
+ version = "0.4"
40
+
41
+ [dev-dependencies.rand]
42
+ version = "0.8"
43
+
44
+ [dev-dependencies.rstest]
45
+ version = "0.11"
46
+
47
+ [dev-dependencies.serde_bytes]
48
+ version = "0.11"
49
+
50
+ [features]
51
+ default = ["std"]
52
+ std = ["ciborium-io/std", "serde/std"]
53
+ [badges.github]
54
+ repository = "enarx/ciborium"
55
+ workflow = "test"
56
+
57
+ [badges.is-it-maintained-issue-resolution]
58
+ repository = "enarx/ciborium"
59
+
60
+ [badges.is-it-maintained-open-issues]
61
+ repository = "enarx/ciborium"
62
+
63
+ [badges.maintenance]
64
+ status = "actively-developed"
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ciborium-0.2.2/Cargo.toml.orig ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [package]
2
+ name = "ciborium"
3
+ version = "0.2.2"
4
+ authors = ["Nathaniel McCallum <npmccallum@profian.com>"]
5
+ license = "Apache-2.0"
6
+ edition = "2021"
7
+ rust-version = "1.58"
8
+ homepage = "https://github.com/enarx/ciborium"
9
+ repository = "https://github.com/enarx/ciborium"
10
+ description = "serde implementation of CBOR using ciborium-basic"
11
+ readme = "README.md"
12
+ keywords = ["cbor", "serde"]
13
+ categories = ["data-structures", "embedded", "encoding", "no-std", "parsing"]
14
+
15
+ [badges]
16
+ # See https://doc.rust-lang.org/cargo/reference/manifest.html#the-badges-section
17
+ github = { repository = "enarx/ciborium", workflow = "test" }
18
+ #github = { repository = "enarx/ciborium", workflow = "lint" }
19
+ maintenance = { status = "actively-developed" }
20
+ is-it-maintained-issue-resolution = { repository = "enarx/ciborium" }
21
+ is-it-maintained-open-issues = { repository = "enarx/ciborium" }
22
+
23
+ [dependencies]
24
+ ciborium-ll = { path = "../ciborium-ll", version = "0.2.2" }
25
+ ciborium-io = { path = "../ciborium-io", version = "0.2.2", features = ["alloc"] }
26
+ serde = { version = "1.0.100", default-features = false, features = ["alloc", "derive"] }
27
+
28
+ [dev-dependencies]
29
+ serde_bytes = "0.11"
30
+ rstest = "0.11"
31
+ rand = "0.8"
32
+ hex = "0.4"
33
+
34
+ [features]
35
+ default = ["std"]
36
+ std = ["ciborium-io/std", "serde/std"]
37
+
38
+ [package.metadata.docs.rs]
39
+ all-features = true
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ciborium-0.2.2/LICENSE ADDED
@@ -0,0 +1,201 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright [yyyy] [name of copyright owner]
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ciborium-0.2.2/README.md ADDED
@@ -0,0 +1,92 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [![Workflow Status](https://github.com/enarx/ciborium/workflows/test/badge.svg)](https://github.com/enarx/ciborium/actions?query=workflow%3A%22test%22)
2
+ [![Average time to resolve an issue](https://isitmaintained.com/badge/resolution/enarx/ciborium.svg)](https://isitmaintained.com/project/enarx/ciborium "Average time to resolve an issue")
3
+ [![Percentage of issues still open](https://isitmaintained.com/badge/open/enarx/ciborium.svg)](https://isitmaintained.com/project/enarx/ciborium "Percentage of issues still open")
4
+ ![Maintenance](https://img.shields.io/badge/maintenance-activly--developed-brightgreen.svg)
5
+
6
+ # ciborium
7
+
8
+ Welcome to Ciborium!
9
+
10
+ Ciborium contains CBOR serialization and deserialization implementations for serde.
11
+
12
+ ## Quick Start
13
+
14
+ You're probably looking for [`from_reader()`](crate::de::from_reader)
15
+ and [`into_writer()`](crate::ser::into_writer), which are
16
+ the main functions. Note that byte slices are also readers and writers and can be
17
+ passed to these functions just as streams can.
18
+
19
+ For dynamic CBOR value creation/inspection, see [`Value`](crate::value::Value).
20
+
21
+ ## Design Decisions
22
+
23
+ ### Always Serialize Numeric Values to the Smallest Size
24
+
25
+ Although the CBOR specification has differing numeric widths, this is only
26
+ a form of compression on the wire and is not intended to directly
27
+ represent an "integer width" or "float width." Therefore, ciborium always
28
+ serializes numbers to the smallest possible lossless encoding. For example,
29
+ we serialize `1u128` as a single byte (`01`). Likewise, we will also freely
30
+ decode that single byte into a `u128`.
31
+
32
+ While there is some minor performance cost for this, there are several
33
+ reasons for this choice. First, the specification seems to imply it by
34
+ using a separate bit for the sign. Second, the specification requires
35
+ that implementations handle leading zeroes; a liberal reading of which
36
+ implies a requirement for lossless coercion. Third, dynamic languages like
37
+ Python have no notion of "integer width," making this is a practical
38
+ choice for maximizing wire compatibility with those languages.
39
+
40
+ This coercion is **always** lossless. For floats, this implies that we
41
+ only coerce to a smaller size if coercion back to the original size has
42
+ the same raw bits as the original.
43
+
44
+ ### Compatibility with Other Implementations
45
+
46
+ The ciborium project follows the [Robustness Principle](https://en.wikipedia.org/wiki/Robustness_principle).
47
+ Therefore, we aim to be liberal in what we accept. This implies that we
48
+ aim to be wire-compatible with other implementations in decoding, but
49
+ not necessarily encoding.
50
+
51
+ One notable example of this is that `serde_cbor` uses fixed-width encoding
52
+ of numbers and doesn't losslessly coerce. This implies that `ciborium` will
53
+ successfully decode `serde_cbor` encodings, but the opposite may not be the
54
+ case.
55
+
56
+ ### Representing Map as a Sequence of Values
57
+
58
+ Other serde parsers have generally taken the route of using `BTreeMap` or
59
+ `HashMap` to implement their encoding's underlying `Map` type. This crate
60
+ chooses to represent the `Map` type using `Vec<(Value, Value)>` instead.
61
+
62
+ This decision was made because this type preserves the order of the pairs
63
+ on the wire. Further, for those that need the properties of `BTreeMap` or
64
+ `HashMap`, you can simply `collect()` the values into the respective type.
65
+ This provides maximum flexibility.
66
+
67
+ ### Low-level Library
68
+
69
+ The ciborium crate has the beginnings of a low-level library in the
70
+ (private) `basic` module. We may extend this to be more robust and expose
71
+ it for application consumption once we have it in a good state. If you'd
72
+ like to collaborate with us on that, please contact us. Alternatively,
73
+ we might fork this code into a separate crate with no serde dependency.
74
+
75
+ ### Internal Types
76
+
77
+ The ciborium crate contains a number of internal types that implement
78
+ useful serde traits. While these are not currently exposed, we might
79
+ choose to expose them in the future if there is demand. Generally, this
80
+ crate takes a conservative approach to exposing APIs to avoid breakage.
81
+
82
+ ### Packed Encoding?
83
+
84
+ Packed encoding uses numerical offsets to represent structure field names
85
+ and enum variant names. This can save significant space on the wire.
86
+
87
+ While the authors of this crate like packed encoding, it should generally
88
+ be avoided because it can be fragile as it exposes invariants of your Rust
89
+ code to remote actors. We might consider adding this in the future. If you
90
+ are interested in this, please contact us.
91
+
92
+ License: Apache-2.0
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/core-foundation-sys-0.8.7/.cargo-ok ADDED
@@ -0,0 +1 @@
 
 
1
+ {"v":1}
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/core-foundation-sys-0.8.7/.cargo_vcs_info.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "git": {
3
+ "sha1": "652bab0a62d87df8a974ffad2ad9f7be218a8b56"
4
+ },
5
+ "path_in_vcs": "core-foundation-sys"
6
+ }
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/core-foundation-sys-0.8.7/Cargo.toml ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
2
+ #
3
+ # When uploading crates to the registry Cargo will automatically
4
+ # "normalize" Cargo.toml files for maximal compatibility
5
+ # with all versions of Cargo and also rewrite `path` dependencies
6
+ # to registry (e.g., crates.io) dependencies.
7
+ #
8
+ # If you are reading this file be aware that the original Cargo.toml
9
+ # will likely look very different (and much more reasonable).
10
+ # See Cargo.toml.orig for the original contents.
11
+
12
+ [package]
13
+ edition = "2018"
14
+ name = "core-foundation-sys"
15
+ version = "0.8.7"
16
+ authors = ["The Servo Project Developers"]
17
+ build = false
18
+ autobins = false
19
+ autoexamples = false
20
+ autotests = false
21
+ autobenches = false
22
+ description = "Bindings to Core Foundation for macOS"
23
+ homepage = "https://github.com/servo/core-foundation-rs"
24
+ readme = false
25
+ license = "MIT OR Apache-2.0"
26
+ repository = "https://github.com/servo/core-foundation-rs"
27
+
28
+ [package.metadata.docs.rs]
29
+ all-features = true
30
+ default-target = "x86_64-apple-darwin"
31
+
32
+ [lib]
33
+ name = "core_foundation_sys"
34
+ path = "src/lib.rs"
35
+
36
+ [dependencies]
37
+
38
+ [features]
39
+ default = ["link"]
40
+ link = []
41
+ mac_os_10_7_support = []
42
+ mac_os_10_8_features = []