JosephStoneCellAI commited on
Commit
a6faecb
·
verified ·
1 Parent(s): 47e4d1d

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. .cache/pip/http-v2/e/1/a/1/0/e1a102a58d5f97b4d2a7ffd62157f43e68a5808f81e4779f2eb95e89.body +0 -0
  2. .cache/pip/http-v2/e/3/e/0/6/e3e06c4cfe0e455836f37e8eeb3bc26ed4be2aeb1e1c72135893c538.body +0 -0
  3. .cache/pip/http-v2/e/4/6/0/3/e4603aebec9951ab7d2688d037f1f2e7247bfbd3422e5ee483382123 +0 -0
  4. .cache/pip/http-v2/e/4/6/0/3/e4603aebec9951ab7d2688d037f1f2e7247bfbd3422e5ee483382123.body +0 -0
  5. .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ciborium-ll-0.2.2/.cargo-ok +1 -0
  6. .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ciborium-ll-0.2.2/.cargo_vcs_info.json +6 -0
  7. .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ciborium-ll-0.2.2/Cargo.toml +50 -0
  8. .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ciborium-ll-0.2.2/Cargo.toml.orig +35 -0
  9. .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ciborium-ll-0.2.2/LICENSE +201 -0
  10. .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ciborium-ll-0.2.2/README.md +131 -0
  11. .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/jiff-static-0.2.18/.cargo-ok +1 -0
  12. .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/jiff-static-0.2.18/.cargo_vcs_info.json +6 -0
  13. .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/jiff-static-0.2.18/COPYING +3 -0
  14. .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/jiff-static-0.2.18/Cargo.lock +54 -0
  15. .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/jiff-static-0.2.18/Cargo.toml +68 -0
  16. .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/jiff-static-0.2.18/Cargo.toml.orig +42 -0
  17. .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/jiff-static-0.2.18/LICENSE-MIT +21 -0
  18. .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/jiff-static-0.2.18/README.md +19 -0
  19. .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/jiff-static-0.2.18/UNLICENSE +24 -0
  20. .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/memchr-2.8.0/.cargo-ok +1 -0
  21. .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/memchr-2.8.0/.cargo_vcs_info.json +6 -0
  22. .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/memchr-2.8.0/.gitignore +10 -0
  23. .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/memchr-2.8.0/.ignore +1 -0
  24. .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/memchr-2.8.0/COPYING +3 -0
  25. .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/memchr-2.8.0/Cargo.lock +80 -0
  26. .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/memchr-2.8.0/Cargo.toml +89 -0
  27. .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/memchr-2.8.0/Cargo.toml.orig +78 -0
  28. .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/memchr-2.8.0/LICENSE-MIT +21 -0
  29. .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/memchr-2.8.0/README.md +196 -0
  30. .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/memchr-2.8.0/UNLICENSE +24 -0
  31. .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/memchr-2.8.0/rustfmt.toml +2 -0
  32. .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/same-file-1.0.6/.gitignore +10 -0
  33. .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/same-file-1.0.6/COPYING +3 -0
  34. .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/same-file-1.0.6/Cargo.toml +29 -0
  35. .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/same-file-1.0.6/Cargo.toml.orig +21 -0
  36. .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/same-file-1.0.6/LICENSE-MIT +21 -0
  37. .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/smallvec-1.15.1/.cargo-ok +1 -0
  38. .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/smallvec-1.15.1/.gitignore +4 -0
  39. .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/smallvec-1.15.1/Cargo.lock +198 -0
  40. .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/smallvec-1.15.1/Cargo.toml +110 -0
  41. .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/smallvec-1.15.1/Cargo.toml.orig +54 -0
  42. .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/smallvec-1.15.1/LICENSE-APACHE +201 -0
  43. .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/smallvec-1.15.1/LICENSE-MIT +25 -0
  44. .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/smallvec-1.15.1/README.md +26 -0
  45. .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/socket2-0.6.2/.cargo-ok +1 -0
  46. .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/socket2-0.6.2/.cargo_vcs_info.json +6 -0
  47. .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/socket2-0.6.2/Cargo.lock +97 -0
  48. .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/socket2-0.6.2/Cargo.toml +104 -0
  49. .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/socket2-0.6.2/Cargo.toml.orig +78 -0
  50. .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/socket2-0.6.2/LICENSE-APACHE +201 -0
.cache/pip/http-v2/e/1/a/1/0/e1a102a58d5f97b4d2a7ffd62157f43e68a5808f81e4779f2eb95e89.body ADDED
Binary file (7.35 kB). View file
 
.cache/pip/http-v2/e/3/e/0/6/e3e06c4cfe0e455836f37e8eeb3bc26ed4be2aeb1e1c72135893c538.body ADDED
Binary file (17.7 kB). View file
 
.cache/pip/http-v2/e/4/6/0/3/e4603aebec9951ab7d2688d037f1f2e7247bfbd3422e5ee483382123 ADDED
Binary file (1.78 kB). View file
 
.cache/pip/http-v2/e/4/6/0/3/e4603aebec9951ab7d2688d037f1f2e7247bfbd3422e5ee483382123.body ADDED
Binary file (3.6 kB). View file
 
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ciborium-ll-0.2.2/.cargo-ok ADDED
@@ -0,0 +1 @@
 
 
1
+ {"v":1}
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ciborium-ll-0.2.2/.cargo_vcs_info.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "git": {
3
+ "sha1": "fdf3ec5c53256000f8e12f06c361ca18026a8d99"
4
+ },
5
+ "path_in_vcs": "ciborium-ll"
6
+ }
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ciborium-ll-0.2.2/Cargo.toml ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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-ll"
16
+ version = "0.2.2"
17
+ authors = ["Nathaniel McCallum <npmccallum@profian.com>"]
18
+ description = "Low-level CBOR codec primitives"
19
+ homepage = "https://github.com/enarx/ciborium"
20
+ readme = "README.md"
21
+ keywords = ["cbor"]
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
+
30
+ [dependencies.half]
31
+ version = "2.2"
32
+ default-features = false
33
+ [dev-dependencies.hex]
34
+ version = "0.4"
35
+
36
+ [features]
37
+ alloc = []
38
+ std = ["alloc", "half/std"]
39
+ [badges.github]
40
+ repository = "enarx/ciborium"
41
+ workflow = "test"
42
+
43
+ [badges.is-it-maintained-issue-resolution]
44
+ repository = "enarx/ciborium"
45
+
46
+ [badges.is-it-maintained-open-issues]
47
+ repository = "enarx/ciborium"
48
+
49
+ [badges.maintenance]
50
+ status = "actively-developed"
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ciborium-ll-0.2.2/Cargo.toml.orig ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [package]
2
+ name = "ciborium-ll"
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 = "Low-level CBOR codec primitives"
11
+ readme = "README.md"
12
+ keywords = ["cbor"]
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-io = { path = "../ciborium-io", version = "0.2.2" }
25
+ half = { version = "2.2", default-features = false}
26
+
27
+ [dev-dependencies]
28
+ hex = "0.4"
29
+
30
+ [features]
31
+ alloc = []
32
+ std = ["alloc", "half/std"]
33
+
34
+ [package.metadata.docs.rs]
35
+ all-features = true
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ciborium-ll-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-ll-0.2.2/README.md ADDED
@@ -0,0 +1,131 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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-ll
7
+
8
+ Low level CBOR parsing tools
9
+
10
+ This crate contains low-level types for encoding and decoding items in
11
+ CBOR. This crate is usable in both `no_std` and `no_alloc` environments.
12
+ To understand how this crate works, first we will look at the structure
13
+ of a CBOR item on the wire.
14
+
15
+ ## Anatomy of a CBOR Item
16
+
17
+ This is a brief anatomy of a CBOR item on the wire.
18
+
19
+ ```
20
+ +------------+-----------+
21
+ | | |
22
+ | Major | Minor |
23
+ | (3bits) | (5bits) |
24
+ | | |
25
+ +------------+-----------+
26
+ ^ ^
27
+ | |
28
+ +-----+ +-----+
29
+ | |
30
+ | |
31
+ +----------------------------+--------------+
32
+ | | | |
33
+ | Prefix | Affix | Suffix |
34
+ | (1 byte) | (0-8 bytes) | (0+ bytes) |
35
+ | | | |
36
+ +------------+---------------+--------------+
37
+
38
+ | | |
39
+ +------------+---------------+--------------+
40
+ | |
41
+ v v
42
+
43
+ Header Body
44
+ ```
45
+
46
+ The `ciborium` crate works by providing the `Decoder` and `Encoder` types
47
+ which provide input and output for a CBOR header (see: `Header`). From
48
+ there, you can either handle the body yourself or use the provided utility
49
+ functions.
50
+
51
+ For more information on the CBOR format, see
52
+ [RFC 7049](https://tools.ietf.org/html/rfc7049).
53
+
54
+ ## Decoding
55
+
56
+ In order to decode CBOR, you will create a `Decoder` from a reader. The
57
+ decoder instance will allow you to `Decoder::pull()` `Header` instances
58
+ from the input.
59
+
60
+ Most CBOR items are fully contained in their headers and therefore have no
61
+ body. These items can be evaluated directly from the `Header` instance.
62
+
63
+ Bytes and text items have a body but do not contain child items. Since
64
+ both bytes and text values may be segmented, parsing them can be a bit
65
+ tricky. Therefore, we provide helper functions to parse these types. See
66
+ `Decoder::bytes()` and `Decoder::text()` for more details.
67
+
68
+ Array and map items have a body which contains child items. These can be
69
+ parsed by simply doing `Decoder::pull()` to parse the child items.
70
+
71
+ ### Example
72
+
73
+ ```rust
74
+ use ciborium_ll::{Decoder, Header};
75
+ use ciborium_io::Read as _;
76
+
77
+ let input = b"\x6dHello, World!";
78
+ let mut decoder = Decoder::from(&input[..]);
79
+ let mut chunks = 0;
80
+
81
+ match decoder.pull().unwrap() {
82
+ Header::Text(len) => {
83
+ let mut segments = decoder.text(len);
84
+ while let Some(mut segment) = segments.pull().unwrap() {
85
+ let mut buffer = [0u8; 7];
86
+ while let Some(chunk) = segment.pull(&mut buffer[..]).unwrap() {
87
+ match chunk {
88
+ "Hello, " if chunks == 0 => chunks = 1,
89
+ "World!" if chunks == 1 => chunks = 2,
90
+ _ => panic!("received unexpected chunk"),
91
+ }
92
+ }
93
+ }
94
+ }
95
+
96
+ _ => panic!("received unexpected value"),
97
+ }
98
+
99
+ assert_eq!(chunks, 2);
100
+ ```
101
+
102
+ ## Encoding
103
+
104
+ To encode values to CBOR, create an `Encoder` from a writer. The encoder
105
+ instance provides the `Encoder::push()` method to write a `Header` value
106
+ to the wire. CBOR item bodies can be written directly.
107
+
108
+ For bytes and text, there are the `Encoder::bytes()` and `Encoder::text()`
109
+ utility functions, respectively, which will properly segment the output
110
+ on the wire for you.
111
+
112
+ ### Example
113
+
114
+ ```rust
115
+ use ciborium_ll::{Encoder, Header};
116
+ use ciborium_io::Write as _;
117
+
118
+ let mut buffer = [0u8; 19];
119
+ let mut encoder = Encoder::from(&mut buffer[..]);
120
+
121
+ // Write the structure
122
+ encoder.push(Header::Map(Some(1))).unwrap();
123
+ encoder.push(Header::Positive(7)).unwrap();
124
+ encoder.text("Hello, World!", 7).unwrap();
125
+
126
+ // Validate our output
127
+ encoder.flush().unwrap();
128
+ assert_eq!(b"\xa1\x07\x7f\x67Hello, \x66World!\xff", &buffer[..]);
129
+ ```
130
+
131
+ License: Apache-2.0
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/jiff-static-0.2.18/.cargo-ok ADDED
@@ -0,0 +1 @@
 
 
1
+ {"v":1}
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/jiff-static-0.2.18/.cargo_vcs_info.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "git": {
3
+ "sha1": "6508ba163bbb6f029c4f79663915ee8b135946b8"
4
+ },
5
+ "path_in_vcs": "crates/jiff-static"
6
+ }
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/jiff-static-0.2.18/COPYING ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ This project is dual-licensed under the Unlicense and MIT licenses.
2
+
3
+ You may use this code under the terms of either license.
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/jiff-static-0.2.18/Cargo.lock ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # This file is automatically @generated by Cargo.
2
+ # It is not intended for manual editing.
3
+ version = 3
4
+
5
+ [[package]]
6
+ name = "jiff-static"
7
+ version = "0.2.18"
8
+ dependencies = [
9
+ "jiff-tzdb",
10
+ "proc-macro2",
11
+ "quote",
12
+ "syn",
13
+ ]
14
+
15
+ [[package]]
16
+ name = "jiff-tzdb"
17
+ version = "0.1.5"
18
+ source = "registry+https://github.com/rust-lang/crates.io-index"
19
+ checksum = "68971ebff725b9e2ca27a601c5eb38a4c5d64422c4cbab0c535f248087eda5c2"
20
+
21
+ [[package]]
22
+ name = "proc-macro2"
23
+ version = "1.0.103"
24
+ source = "registry+https://github.com/rust-lang/crates.io-index"
25
+ checksum = "5ee95bc4ef87b8d5ba32e8b7714ccc834865276eab0aed5c9958d00ec45f49e8"
26
+ dependencies = [
27
+ "unicode-ident",
28
+ ]
29
+
30
+ [[package]]
31
+ name = "quote"
32
+ version = "1.0.42"
33
+ source = "registry+https://github.com/rust-lang/crates.io-index"
34
+ checksum = "a338cc41d27e6cc6dce6cefc13a0729dfbb81c262b1f519331575dd80ef3067f"
35
+ dependencies = [
36
+ "proc-macro2",
37
+ ]
38
+
39
+ [[package]]
40
+ name = "syn"
41
+ version = "2.0.111"
42
+ source = "registry+https://github.com/rust-lang/crates.io-index"
43
+ checksum = "390cc9a294ab71bdb1aa2e99d13be9c753cd2d7bd6560c77118597410c4d2e87"
44
+ dependencies = [
45
+ "proc-macro2",
46
+ "quote",
47
+ "unicode-ident",
48
+ ]
49
+
50
+ [[package]]
51
+ name = "unicode-ident"
52
+ version = "1.0.22"
53
+ source = "registry+https://github.com/rust-lang/crates.io-index"
54
+ checksum = "9312f7c4f6ff9069b165498234ce8be658059c6728633667c526e27dc2cf1df5"
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/jiff-static-0.2.18/Cargo.toml ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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.70"
15
+ name = "jiff-static"
16
+ version = "0.2.18"
17
+ authors = ["Andrew Gallant <jamslam@gmail.com>"]
18
+ build = false
19
+ include = [
20
+ "/src/**/*.rs",
21
+ "COPYING",
22
+ "LICENSE-MIT",
23
+ "UNLICENSE",
24
+ ]
25
+ autolib = false
26
+ autobins = false
27
+ autoexamples = false
28
+ autotests = false
29
+ autobenches = false
30
+ description = "Create static TimeZone values for Jiff (useful in core-only environments)."
31
+ homepage = "https://github.com/BurntSushi/jiff/tree/master/crates/jiff-static"
32
+ documentation = "https://docs.rs/jiff-tzdb"
33
+ readme = "README.md"
34
+ keywords = [
35
+ "date",
36
+ "time",
37
+ "static",
38
+ "zone",
39
+ "iana",
40
+ ]
41
+ categories = ["date-and-time"]
42
+ license = "Unlicense OR MIT"
43
+ repository = "https://github.com/BurntSushi/jiff"
44
+
45
+ [features]
46
+ default = []
47
+ perf-inline = []
48
+ tz-fat = []
49
+ tzdb = ["dep:jiff-tzdb"]
50
+
51
+ [lib]
52
+ name = "jiff_static"
53
+ path = "src/lib.rs"
54
+ bench = false
55
+ proc-macro = true
56
+
57
+ [dependencies.jiff-tzdb]
58
+ version = "0.1.4"
59
+ optional = true
60
+
61
+ [dependencies.proc-macro2]
62
+ version = "1.0.93"
63
+
64
+ [dependencies.quote]
65
+ version = "1.0.38"
66
+
67
+ [dependencies.syn]
68
+ version = "2.0.98"
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/jiff-static-0.2.18/Cargo.toml.orig ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [package]
2
+ name = "jiff-static"
3
+ version = "0.2.18" #:version
4
+ authors = ["Andrew Gallant <jamslam@gmail.com>"]
5
+ license = "Unlicense OR MIT"
6
+ homepage = "https://github.com/BurntSushi/jiff/tree/master/crates/jiff-static"
7
+ repository = "https://github.com/BurntSushi/jiff"
8
+ documentation = "https://docs.rs/jiff-tzdb"
9
+ description = "Create static TimeZone values for Jiff (useful in core-only environments)."
10
+ categories = ["date-and-time"]
11
+ keywords = ["date", "time", "static", "zone", "iana"]
12
+ workspace = "../.."
13
+ edition = "2021"
14
+ rust-version = "1.70"
15
+ include = ["/src/**/*.rs", "COPYING", "LICENSE-MIT", "UNLICENSE"]
16
+
17
+ [lib]
18
+ name = "jiff_static"
19
+ bench = false
20
+ proc-macro = true
21
+
22
+ [features]
23
+ default = []
24
+ # This forces the jiff-tzdb crate to be included and makes the `get` proc macro
25
+ # available (which pulls from the bundled tzdb).
26
+ tzdb = ["dep:jiff-tzdb"]
27
+ # This fattens up the TZif data to contain more explicit transitions. This may
28
+ # improve the performance of time zone lookups.
29
+ #
30
+ # See the `tz-fat` feature in this repository's root `Cargo.toml` for more
31
+ # context.
32
+ tz-fat = []
33
+ # Equivalent to the eponymous feature in `jiff` proper. Except it isn't
34
+ # enabled by default here, since we don't really care about that level of
35
+ # perf at compile time.
36
+ perf-inline = []
37
+
38
+ [dependencies]
39
+ jiff-tzdb = { version = "0.1.4", path = "../jiff-tzdb", optional = true }
40
+ proc-macro2 = "1.0.93"
41
+ quote = "1.0.38"
42
+ syn = "2.0.98"
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/jiff-static-0.2.18/LICENSE-MIT ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2015 Andrew Gallant
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/jiff-static-0.2.18/README.md ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ jiff-static
2
+ ===========
3
+ This is an optional dependency of `jiff` that embeds time zone data into your
4
+ binary via procedural macros. It unlocks the use case of creating a `TimeZone`
5
+ value in core-only environments without dynamic memory allocation.
6
+
7
+ Users should generally not depend on this directly, but instead use it
8
+ through Jiff. Namely, all of the procedural macros defined in this crate
9
+ are re-exported through Jiff's public API. For example, one can enable the
10
+ `static` or `static-tz` crate features in `jiff` to get `jiff::tz::get!` and
11
+ `jiff::tz::include!`.
12
+
13
+ **WARNING**: The `src/shared` directory in this crate is copied from the
14
+ `../src/shared` directory. This copy is managed by `jiff-cli generate shared`.
15
+ See the comments in the code for why this is done.
16
+
17
+ ### Documentation
18
+
19
+ https://docs.rs/jiff-static
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/jiff-static-0.2.18/UNLICENSE ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ This is free and unencumbered software released into the public domain.
2
+
3
+ Anyone is free to copy, modify, publish, use, compile, sell, or
4
+ distribute this software, either in source code form or as a compiled
5
+ binary, for any purpose, commercial or non-commercial, and by any
6
+ means.
7
+
8
+ In jurisdictions that recognize copyright laws, the author or authors
9
+ of this software dedicate any and all copyright interest in the
10
+ software to the public domain. We make this dedication for the benefit
11
+ of the public at large and to the detriment of our heirs and
12
+ successors. We intend this dedication to be an overt act of
13
+ relinquishment in perpetuity of all present and future rights to this
14
+ software under copyright law.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19
+ IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
20
+ OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
21
+ ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
22
+ OTHER DEALINGS IN THE SOFTWARE.
23
+
24
+ For more information, please refer to <http://unlicense.org/>
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/memchr-2.8.0/.cargo-ok ADDED
@@ -0,0 +1 @@
 
 
1
+ {"v":1}
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/memchr-2.8.0/.cargo_vcs_info.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "git": {
3
+ "sha1": "886ca4ca4820297191c6e9f7b023dc356f31a4d1"
4
+ },
5
+ "path_in_vcs": ""
6
+ }
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/memchr-2.8.0/.gitignore ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ .*.swp
2
+ doc
3
+ tags
4
+ examples/ss10pusa.csv
5
+ build
6
+ target
7
+ Cargo.lock
8
+ scratch*
9
+ bench_large/huge
10
+ tmp/
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/memchr-2.8.0/.ignore ADDED
@@ -0,0 +1 @@
 
 
1
+ !.github
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/memchr-2.8.0/COPYING ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ This project is dual-licensed under the Unlicense and MIT licenses.
2
+
3
+ You may use this code under the terms of either license.
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/memchr-2.8.0/Cargo.lock ADDED
@@ -0,0 +1,80 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # This file is automatically @generated by Cargo.
2
+ # It is not intended for manual editing.
3
+ version = 3
4
+
5
+ [[package]]
6
+ name = "cfg-if"
7
+ version = "1.0.3"
8
+ source = "registry+https://github.com/rust-lang/crates.io-index"
9
+ checksum = "2fd1289c04a9ea8cb22300a459a72a385d7c73d3259e2ed7dcb2af674838cfa9"
10
+
11
+ [[package]]
12
+ name = "getrandom"
13
+ version = "0.2.16"
14
+ source = "registry+https://github.com/rust-lang/crates.io-index"
15
+ checksum = "335ff9f135e4384c8150d6f27c6daed433577f86b4750418338c01a1a2528592"
16
+ dependencies = [
17
+ "cfg-if",
18
+ "libc",
19
+ "wasi",
20
+ ]
21
+
22
+ [[package]]
23
+ name = "libc"
24
+ version = "0.2.176"
25
+ source = "registry+https://github.com/rust-lang/crates.io-index"
26
+ checksum = "58f929b4d672ea937a23a1ab494143d968337a5f47e56d0815df1e0890ddf174"
27
+
28
+ [[package]]
29
+ name = "log"
30
+ version = "0.4.28"
31
+ source = "registry+https://github.com/rust-lang/crates.io-index"
32
+ checksum = "34080505efa8e45a4b816c349525ebe327ceaa8559756f0356cba97ef3bf7432"
33
+
34
+ [[package]]
35
+ name = "memchr"
36
+ version = "2.8.0"
37
+ dependencies = [
38
+ "log",
39
+ "quickcheck",
40
+ "rustc-std-workspace-core",
41
+ ]
42
+
43
+ [[package]]
44
+ name = "quickcheck"
45
+ version = "1.0.3"
46
+ source = "registry+https://github.com/rust-lang/crates.io-index"
47
+ checksum = "588f6378e4dd99458b60ec275b4477add41ce4fa9f64dcba6f15adccb19b50d6"
48
+ dependencies = [
49
+ "rand",
50
+ ]
51
+
52
+ [[package]]
53
+ name = "rand"
54
+ version = "0.8.5"
55
+ source = "registry+https://github.com/rust-lang/crates.io-index"
56
+ checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404"
57
+ dependencies = [
58
+ "rand_core",
59
+ ]
60
+
61
+ [[package]]
62
+ name = "rand_core"
63
+ version = "0.6.4"
64
+ source = "registry+https://github.com/rust-lang/crates.io-index"
65
+ checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c"
66
+ dependencies = [
67
+ "getrandom",
68
+ ]
69
+
70
+ [[package]]
71
+ name = "rustc-std-workspace-core"
72
+ version = "1.0.1"
73
+ source = "registry+https://github.com/rust-lang/crates.io-index"
74
+ checksum = "aa9c45b374136f52f2d6311062c7146bff20fec063c3f5d46a410bd937746955"
75
+
76
+ [[package]]
77
+ name = "wasi"
78
+ version = "0.11.1+wasi-snapshot-preview1"
79
+ source = "registry+https://github.com/rust-lang/crates.io-index"
80
+ checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b"
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/memchr-2.8.0/Cargo.toml ADDED
@@ -0,0 +1,89 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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.61"
15
+ name = "memchr"
16
+ version = "2.8.0"
17
+ authors = [
18
+ "Andrew Gallant <jamslam@gmail.com>",
19
+ "bluss",
20
+ ]
21
+ build = false
22
+ exclude = [
23
+ "/.github",
24
+ "/benchmarks",
25
+ "/fuzz",
26
+ "/scripts",
27
+ "/tmp",
28
+ ]
29
+ autolib = false
30
+ autobins = false
31
+ autoexamples = false
32
+ autotests = false
33
+ autobenches = false
34
+ description = """
35
+ Provides extremely fast (uses SIMD on x86_64, aarch64 and wasm32) routines for
36
+ 1, 2 or 3 byte search and single substring search.
37
+ """
38
+ homepage = "https://github.com/BurntSushi/memchr"
39
+ documentation = "https://docs.rs/memchr/"
40
+ readme = "README.md"
41
+ keywords = [
42
+ "memchr",
43
+ "memmem",
44
+ "substring",
45
+ "find",
46
+ "search",
47
+ ]
48
+ license = "Unlicense OR MIT"
49
+ repository = "https://github.com/BurntSushi/memchr"
50
+
51
+ [package.metadata.docs.rs]
52
+ rustdoc-args = ["--generate-link-to-definition"]
53
+
54
+ [features]
55
+ alloc = []
56
+ default = ["std"]
57
+ libc = []
58
+ logging = ["dep:log"]
59
+ rustc-dep-of-std = ["core"]
60
+ std = ["alloc"]
61
+ use_std = ["std"]
62
+
63
+ [lib]
64
+ name = "memchr"
65
+ path = "src/lib.rs"
66
+ bench = false
67
+
68
+ [dependencies.core]
69
+ version = "1.0.0"
70
+ optional = true
71
+ package = "rustc-std-workspace-core"
72
+
73
+ [dependencies.log]
74
+ version = "0.4.20"
75
+ optional = true
76
+
77
+ [dev-dependencies.quickcheck]
78
+ version = "1.0.3"
79
+ default-features = false
80
+
81
+ [profile.bench]
82
+ debug = 2
83
+
84
+ [profile.release]
85
+ debug = 2
86
+
87
+ [profile.test]
88
+ opt-level = 3
89
+ debug = 2
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/memchr-2.8.0/Cargo.toml.orig ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [package]
2
+ name = "memchr"
3
+ version = "2.8.0" #:version
4
+ authors = ["Andrew Gallant <jamslam@gmail.com>", "bluss"]
5
+ description = """
6
+ Provides extremely fast (uses SIMD on x86_64, aarch64 and wasm32) routines for
7
+ 1, 2 or 3 byte search and single substring search.
8
+ """
9
+ documentation = "https://docs.rs/memchr/"
10
+ homepage = "https://github.com/BurntSushi/memchr"
11
+ repository = "https://github.com/BurntSushi/memchr"
12
+ readme = "README.md"
13
+ keywords = ["memchr", "memmem", "substring", "find", "search"]
14
+ license = "Unlicense OR MIT"
15
+ exclude = ["/.github", "/benchmarks", "/fuzz", "/scripts", "/tmp"]
16
+ edition = "2021"
17
+ rust-version = "1.61"
18
+
19
+ [lib]
20
+ name = "memchr"
21
+ bench = false
22
+
23
+ [features]
24
+ default = ["std"]
25
+
26
+ # The 'std' feature permits the memchr crate to use the standard library. This
27
+ # permits this crate to use runtime CPU feature detection to automatically
28
+ # accelerate searching via vector instructions. Without the standard library,
29
+ # this automatic detection is not possible.
30
+ std = ["alloc"]
31
+
32
+ # The 'alloc' feature enables some APIs that require allocation, such as
33
+ # 'Finder::into_owned'. Note that this feature does not enable runtime CPU
34
+ # feature detection. That still requires 'std'.
35
+ alloc = []
36
+
37
+ # When enabled (it's disabled by default), the `log` crate will be used to
38
+ # emit a spattering of log messages. For the most part, the log messages are
39
+ # meant to indicate what strategies are being employed. For example, whether
40
+ # a vector or a scalar algorithm is used for substring search. This can be
41
+ # useful when debugging performance problems.
42
+ #
43
+ # This is disabled by default.
44
+ logging = ["dep:log"]
45
+
46
+ # The 'use_std' feature is DEPRECATED. It will be removed in memchr 3. Until
47
+ # then, it is alias for the 'std' feature.
48
+ use_std = ["std"]
49
+
50
+ # The 'libc' feature has been DEPRECATED and no longer has any effect.
51
+ libc = []
52
+
53
+ # Internal feature, only used when building as part of libstd, not part of the
54
+ # stable interface of this crate.
55
+ rustc-dep-of-std = ['core']
56
+
57
+ [dependencies]
58
+ # Only used when the `logging` feature is enabled (disabled by default).
59
+ log = { version = "0.4.20", optional = true }
60
+ # Internal feature, only used when building as part of libstd, not part of the
61
+ # stable interface of this crate.
62
+ core = { version = '1.0.0', optional = true, package = 'rustc-std-workspace-core' }
63
+
64
+ [dev-dependencies]
65
+ quickcheck = { version = "1.0.3", default-features = false }
66
+
67
+ [profile.release]
68
+ debug = true
69
+
70
+ [profile.bench]
71
+ debug = true
72
+
73
+ [profile.test]
74
+ opt-level = 3
75
+ debug = true
76
+
77
+ [package.metadata.docs.rs]
78
+ rustdoc-args = ["--generate-link-to-definition"]
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/memchr-2.8.0/LICENSE-MIT ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2015 Andrew Gallant
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/memchr-2.8.0/README.md ADDED
@@ -0,0 +1,196 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ memchr
2
+ ======
3
+ This library provides heavily optimized routines for string search primitives.
4
+
5
+ [![Build status](https://github.com/BurntSushi/memchr/workflows/ci/badge.svg)](https://github.com/BurntSushi/memchr/actions)
6
+ [![Crates.io](https://img.shields.io/crates/v/memchr.svg)](https://crates.io/crates/memchr)
7
+
8
+ Dual-licensed under MIT or the [UNLICENSE](https://unlicense.org/).
9
+
10
+
11
+ ### Documentation
12
+
13
+ [https://docs.rs/memchr](https://docs.rs/memchr)
14
+
15
+
16
+ ### Overview
17
+
18
+ * The top-level module provides routines for searching for 1, 2 or 3 bytes
19
+ in the forward or reverse direction. When searching for more than one byte,
20
+ positions are considered a match if the byte at that position matches any
21
+ of the bytes.
22
+ * The `memmem` sub-module provides forward and reverse substring search
23
+ routines.
24
+
25
+ In all such cases, routines operate on `&[u8]` without regard to encoding. This
26
+ is exactly what you want when searching either UTF-8 or arbitrary bytes.
27
+
28
+ ### Compiling without the standard library
29
+
30
+ memchr links to the standard library by default, but you can disable the
31
+ `std` feature if you want to use it in a `#![no_std]` crate:
32
+
33
+ ```toml
34
+ [dependencies]
35
+ memchr = { version = "2", default-features = false }
36
+ ```
37
+
38
+ On `x86_64` platforms, when the `std` feature is disabled, the SSE2 accelerated
39
+ implementations will be used. When `std` is enabled, AVX2 accelerated
40
+ implementations will be used if the CPU is determined to support it at runtime.
41
+
42
+ SIMD accelerated routines are also available on the `wasm32` and `aarch64`
43
+ targets. The `std` feature is not required to use them.
44
+
45
+ When a SIMD version is not available, then this crate falls back to
46
+ [SWAR](https://en.wikipedia.org/wiki/SWAR) techniques.
47
+
48
+ ### Minimum Rust version policy
49
+
50
+ This crate's minimum supported `rustc` version is `1.61.0`.
51
+
52
+ The current policy is that the minimum Rust version required to use this crate
53
+ can be increased in minor version updates. For example, if `crate 1.0` requires
54
+ Rust 1.20.0, then `crate 1.0.z` for all values of `z` will also require Rust
55
+ 1.20.0 or newer. However, `crate 1.y` for `y > 0` may require a newer minimum
56
+ version of Rust.
57
+
58
+ In general, this crate will be conservative with respect to the minimum
59
+ supported version of Rust.
60
+
61
+
62
+ ### Testing strategy
63
+
64
+ Given the complexity of the code in this crate, along with the pervasive use
65
+ of `unsafe`, this crate has an extensive testing strategy. It combines multiple
66
+ approaches:
67
+
68
+ * Hand-written tests.
69
+ * Exhaustive-style testing meant to exercise all possible branching and offset
70
+ calculations.
71
+ * Property based testing through [`quickcheck`](https://github.com/BurntSushi/quickcheck).
72
+ * Fuzz testing through [`cargo fuzz`](https://github.com/rust-fuzz/cargo-fuzz).
73
+ * A huge suite of benchmarks that are also run as tests. Benchmarks always
74
+ confirm that the expected result occurs.
75
+
76
+ Improvements to the testing infrastructure are very welcome.
77
+
78
+
79
+ ### Algorithms used
80
+
81
+ At time of writing, this crate's implementation of substring search actually
82
+ has a few different algorithms to choose from depending on the situation.
83
+
84
+ * For very small haystacks,
85
+ [Rabin-Karp](https://en.wikipedia.org/wiki/Rabin%E2%80%93Karp_algorithm)
86
+ is used to reduce latency. Rabin-Karp has very small overhead and can often
87
+ complete before other searchers have even been constructed.
88
+ * For small needles, a variant of the
89
+ ["Generic SIMD"](http://0x80.pl/articles/simd-strfind.html#algorithm-1-generic-simd)
90
+ algorithm is used. Instead of using the first and last bytes, a heuristic is
91
+ used to select bytes based on a background distribution of byte frequencies.
92
+ * In all other cases,
93
+ [Two-Way](https://en.wikipedia.org/wiki/Two-way_string-matching_algorithm)
94
+ is used. If possible, a prefilter based on the "Generic SIMD" algorithm
95
+ linked above is used to find candidates quickly. A dynamic heuristic is used
96
+ to detect if the prefilter is ineffective, and if so, disables it.
97
+
98
+
99
+ ### Why is the standard library's substring search so much slower?
100
+
101
+ We'll start by establishing what the difference in performance actually
102
+ is. There are two relevant benchmark classes to consider: `prebuilt` and
103
+ `oneshot`. The `prebuilt` benchmarks are designed to measure---to the extent
104
+ possible---search time only. That is, the benchmark first starts by building a
105
+ searcher and then only tracking the time for _using_ the searcher:
106
+
107
+ ```
108
+ $ rebar rank benchmarks/record/x86_64/2023-08-26.csv --intersection -e memchr/memmem/prebuilt -e std/memmem/prebuilt
109
+ Engine Version Geometric mean of speed ratios Benchmark count
110
+ ------ ------- ------------------------------ ---------------
111
+ rust/memchr/memmem/prebuilt 2.5.0 1.03 53
112
+ rust/std/memmem/prebuilt 1.73.0-nightly 180dffba1 6.50 53
113
+ ```
114
+
115
+ Conversely, the `oneshot` benchmark class measures the time it takes to both
116
+ build the searcher _and_ use it:
117
+
118
+ ```
119
+ $ rebar rank benchmarks/record/x86_64/2023-08-26.csv --intersection -e memchr/memmem/oneshot -e std/memmem/oneshot
120
+ Engine Version Geometric mean of speed ratios Benchmark count
121
+ ------ ------- ------------------------------ ---------------
122
+ rust/memchr/memmem/oneshot 2.5.0 1.04 53
123
+ rust/std/memmem/oneshot 1.73.0-nightly 180dffba1 5.26 53
124
+ ```
125
+
126
+ **NOTE:** Replace `rebar rank` with `rebar cmp` in the above commands to
127
+ explore the specific benchmarks and their differences.
128
+
129
+ So in both cases, this crate is quite a bit faster over a broad sampling of
130
+ benchmarks regardless of whether you measure only search time or search time
131
+ plus construction time. The difference is a little smaller when you include
132
+ construction time in your measurements.
133
+
134
+ These two different types of benchmark classes make for a nice segue into
135
+ one reason why the standard library's substring search can be slower: API
136
+ design. In the standard library, the only APIs available to you require
137
+ one to re-construct the searcher for every search. While you can benefit
138
+ from building a searcher once and iterating over all matches in a single
139
+ string, you cannot reuse that searcher to search other strings. This might
140
+ come up when, for example, searching a file one line at a time. You'll need
141
+ to re-build the searcher for every line searched, and this can [really
142
+ matter][burntsushi-bstr-blog].
143
+
144
+ **NOTE:** The `prebuilt` benchmark for the standard library can't actually
145
+ avoid measuring searcher construction at some level, because there is no API
146
+ for it. Instead, the benchmark consists of building the searcher once and then
147
+ finding all matches in a single string via an iterator. This tends to
148
+ approximate a benchmark where searcher construction isn't measured, but it
149
+ isn't perfect. While this means the comparison is not strictly
150
+ apples-to-apples, it does reflect what is maximally possible with the standard
151
+ library, and thus reflects the best that one could do in a real world scenario.
152
+
153
+ While there is more to the story than just API design here, it's important to
154
+ point out that even if the standard library's substring search were a precise
155
+ clone of this crate internally, it would still be at a disadvantage in some
156
+ workloads because of its API. (The same also applies to C's standard library
157
+ `memmem` function. There is no way to amortize construction of the searcher.
158
+ You need to pay for it on every call.)
159
+
160
+ The other reason for the difference in performance is that
161
+ the standard library has trouble using SIMD. In particular, substring search
162
+ is implemented in the `core` library, where platform specific code generally
163
+ can't exist. That's an issue because in order to utilize SIMD beyond SSE2
164
+ while maintaining portable binaries, one needs to use [dynamic CPU feature
165
+ detection][dynamic-cpu], and that in turn requires platform specific code.
166
+ While there is [an RFC for enabling target feature detection in
167
+ `core`][core-feature], it doesn't yet exist.
168
+
169
+ The bottom line here is that `core`'s substring search implementation is
170
+ limited to making use of SSE2, but not AVX.
171
+
172
+ Still though, this crate does accelerate substring search even when only SSE2
173
+ is available. The standard library could therefore adopt the techniques in this
174
+ crate just for SSE2. The reason why that hasn't happened yet isn't totally
175
+ clear to me. It likely needs a champion to push it through. The standard
176
+ library tends to be more conservative in these things. With that said, the
177
+ standard library does use some [SSE2 acceleration on `x86-64`][std-sse2] added
178
+ in [this PR][std-sse2-pr]. However, at the time of writing, it is only used
179
+ for short needles and doesn't use the frequency based heuristics found in this
180
+ crate.
181
+
182
+ **NOTE:** Another thing worth mentioning is that the standard library's
183
+ substring search routine requires that both the needle and haystack have type
184
+ `&str`. Unless you can assume that your data is valid UTF-8, building a `&str`
185
+ will come with the overhead of UTF-8 validation. This may in turn result in
186
+ overall slower searching depending on your workload. In contrast, the `memchr`
187
+ crate permits both the needle and the haystack to have type `&[u8]`, where
188
+ `&[u8]` can be created from a `&str` with zero cost. Therefore, the substring
189
+ search in this crate is strictly more flexible than what the standard library
190
+ provides.
191
+
192
+ [burntsushi-bstr-blog]: https://blog.burntsushi.net/bstr/#motivation-based-on-performance
193
+ [dynamic-cpu]: https://doc.rust-lang.org/std/arch/index.html#dynamic-cpu-feature-detection
194
+ [core-feature]: https://github.com/rust-lang/rfcs/pull/3469
195
+ [std-sse2]: https://github.com/rust-lang/rust/blob/bf9229a2e366b4c311f059014a4aa08af16de5d8/library/core/src/str/pattern.rs#L1719-L1857
196
+ [std-sse2-pr]: https://github.com/rust-lang/rust/pull/103779
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/memchr-2.8.0/UNLICENSE ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ This is free and unencumbered software released into the public domain.
2
+
3
+ Anyone is free to copy, modify, publish, use, compile, sell, or
4
+ distribute this software, either in source code form or as a compiled
5
+ binary, for any purpose, commercial or non-commercial, and by any
6
+ means.
7
+
8
+ In jurisdictions that recognize copyright laws, the author or authors
9
+ of this software dedicate any and all copyright interest in the
10
+ software to the public domain. We make this dedication for the benefit
11
+ of the public at large and to the detriment of our heirs and
12
+ successors. We intend this dedication to be an overt act of
13
+ relinquishment in perpetuity of all present and future rights to this
14
+ software under copyright law.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19
+ IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
20
+ OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
21
+ ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
22
+ OTHER DEALINGS IN THE SOFTWARE.
23
+
24
+ For more information, please refer to <http://unlicense.org/>
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/memchr-2.8.0/rustfmt.toml ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ max_width = 79
2
+ use_small_heuristics = "max"
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/same-file-1.0.6/.gitignore ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ .*.swp
2
+ doc
3
+ tags
4
+ examples/ss10pusa.csv
5
+ build
6
+ target
7
+ Cargo.lock
8
+ scratch*
9
+ bench_large/huge
10
+ x
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/same-file-1.0.6/COPYING ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ This project is dual-licensed under the Unlicense and MIT licenses.
2
+
3
+ You may use this code under the terms of either license.
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/same-file-1.0.6/Cargo.toml ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 = "same-file"
16
+ version = "1.0.6"
17
+ authors = ["Andrew Gallant <jamslam@gmail.com>"]
18
+ exclude = ["/.github"]
19
+ description = "A simple crate for determining whether two file paths point to the same file.\n"
20
+ homepage = "https://github.com/BurntSushi/same-file"
21
+ documentation = "https://docs.rs/same-file"
22
+ readme = "README.md"
23
+ keywords = ["same", "file", "equal", "inode"]
24
+ license = "Unlicense/MIT"
25
+ repository = "https://github.com/BurntSushi/same-file"
26
+ [dev-dependencies.doc-comment]
27
+ version = "0.3"
28
+ [target."cfg(windows)".dependencies.winapi-util]
29
+ version = "0.1.1"
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/same-file-1.0.6/Cargo.toml.orig ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [package]
2
+ name = "same-file"
3
+ version = "1.0.6" #:version
4
+ authors = ["Andrew Gallant <jamslam@gmail.com>"]
5
+ description = """
6
+ A simple crate for determining whether two file paths point to the same file.
7
+ """
8
+ documentation = "https://docs.rs/same-file"
9
+ homepage = "https://github.com/BurntSushi/same-file"
10
+ repository = "https://github.com/BurntSushi/same-file"
11
+ readme = "README.md"
12
+ keywords = ["same", "file", "equal", "inode"]
13
+ license = "Unlicense/MIT"
14
+ exclude = ["/.github"]
15
+ edition = "2018"
16
+
17
+ [target.'cfg(windows)'.dependencies.winapi-util]
18
+ version = "0.1.1"
19
+
20
+ [dev-dependencies]
21
+ doc-comment = "0.3"
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/same-file-1.0.6/LICENSE-MIT ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2017 Andrew Gallant
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/smallvec-1.15.1/.cargo-ok ADDED
@@ -0,0 +1 @@
 
 
1
+ {"v":1}
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/smallvec-1.15.1/.gitignore ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ target
2
+ /Cargo.lock
3
+ /fuzz/hfuzz_target
4
+ /.vscode
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/smallvec-1.15.1/Cargo.lock ADDED
@@ -0,0 +1,198 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # This file is automatically @generated by Cargo.
2
+ # It is not intended for manual editing.
3
+ version = 4
4
+
5
+ [[package]]
6
+ name = "aho-corasick"
7
+ version = "1.1.3"
8
+ source = "registry+https://github.com/rust-lang/crates.io-index"
9
+ checksum = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916"
10
+ dependencies = [
11
+ "memchr",
12
+ ]
13
+
14
+ [[package]]
15
+ name = "anyhow"
16
+ version = "1.0.98"
17
+ source = "registry+https://github.com/rust-lang/crates.io-index"
18
+ checksum = "e16d2d3311acee920a9eb8d33b8cbc1787ce4a264e85f964c2404b969bdcd487"
19
+
20
+ [[package]]
21
+ name = "arbitrary"
22
+ version = "1.4.1"
23
+ source = "registry+https://github.com/rust-lang/crates.io-index"
24
+ checksum = "dde20b3d026af13f561bdd0f15edf01fc734f0dafcedbaf42bba506a9517f223"
25
+
26
+ [[package]]
27
+ name = "bincode"
28
+ version = "1.3.3"
29
+ source = "registry+https://github.com/rust-lang/crates.io-index"
30
+ checksum = "b1f45e9417d87227c7a56d22e471c6206462cba514c7590c09aff4cf6d1ddcad"
31
+ dependencies = [
32
+ "serde",
33
+ ]
34
+
35
+ [[package]]
36
+ name = "bincode"
37
+ version = "2.0.1"
38
+ source = "registry+https://github.com/rust-lang/crates.io-index"
39
+ checksum = "36eaf5d7b090263e8150820482d5d93cd964a81e4019913c972f4edcc6edb740"
40
+ dependencies = [
41
+ "unty",
42
+ ]
43
+
44
+ [[package]]
45
+ name = "debugger_test"
46
+ version = "0.1.5"
47
+ source = "registry+https://github.com/rust-lang/crates.io-index"
48
+ checksum = "d95bb55f592fbb86947bee426d831de84bd65602a54f5cdcb10bfa70a62e52a0"
49
+ dependencies = [
50
+ "anyhow",
51
+ "log",
52
+ "quote",
53
+ "syn 1.0.109",
54
+ ]
55
+
56
+ [[package]]
57
+ name = "debugger_test_parser"
58
+ version = "0.1.3"
59
+ source = "registry+https://github.com/rust-lang/crates.io-index"
60
+ checksum = "ebe536452a777752b9316f0c840afbb94a2411684d4f15c081449ea801ef9e75"
61
+ dependencies = [
62
+ "anyhow",
63
+ "log",
64
+ "regex",
65
+ ]
66
+
67
+ [[package]]
68
+ name = "log"
69
+ version = "0.4.27"
70
+ source = "registry+https://github.com/rust-lang/crates.io-index"
71
+ checksum = "13dc2df351e3202783a1fe0d44375f7295ffb4049267b0f3018346dc122a1d94"
72
+
73
+ [[package]]
74
+ name = "malloc_size_of"
75
+ version = "0.1.1"
76
+ source = "registry+https://github.com/rust-lang/crates.io-index"
77
+ checksum = "e5d719de8b8f230028cf8192ae4c1b25267cd6b8a99d2747d345a70b8c81aa13"
78
+
79
+ [[package]]
80
+ name = "memchr"
81
+ version = "2.7.4"
82
+ source = "registry+https://github.com/rust-lang/crates.io-index"
83
+ checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3"
84
+
85
+ [[package]]
86
+ name = "proc-macro2"
87
+ version = "1.0.95"
88
+ source = "registry+https://github.com/rust-lang/crates.io-index"
89
+ checksum = "02b3e5e68a3a1a02aad3ec490a98007cbc13c37cbe84a3cd7b8e406d76e7f778"
90
+ dependencies = [
91
+ "unicode-ident",
92
+ ]
93
+
94
+ [[package]]
95
+ name = "quote"
96
+ version = "1.0.40"
97
+ source = "registry+https://github.com/rust-lang/crates.io-index"
98
+ checksum = "1885c039570dc00dcb4ff087a89e185fd56bae234ddc7f056a945bf36467248d"
99
+ dependencies = [
100
+ "proc-macro2",
101
+ ]
102
+
103
+ [[package]]
104
+ name = "regex"
105
+ version = "1.11.1"
106
+ source = "registry+https://github.com/rust-lang/crates.io-index"
107
+ checksum = "b544ef1b4eac5dc2db33ea63606ae9ffcfac26c1416a2806ae0bf5f56b201191"
108
+ dependencies = [
109
+ "aho-corasick",
110
+ "memchr",
111
+ "regex-automata",
112
+ "regex-syntax",
113
+ ]
114
+
115
+ [[package]]
116
+ name = "regex-automata"
117
+ version = "0.4.9"
118
+ source = "registry+https://github.com/rust-lang/crates.io-index"
119
+ checksum = "809e8dc61f6de73b46c85f4c96486310fe304c434cfa43669d7b40f711150908"
120
+ dependencies = [
121
+ "aho-corasick",
122
+ "memchr",
123
+ "regex-syntax",
124
+ ]
125
+
126
+ [[package]]
127
+ name = "regex-syntax"
128
+ version = "0.8.5"
129
+ source = "registry+https://github.com/rust-lang/crates.io-index"
130
+ checksum = "2b15c43186be67a4fd63bee50d0303afffcef381492ebe2c5d87f324e1b8815c"
131
+
132
+ [[package]]
133
+ name = "serde"
134
+ version = "1.0.219"
135
+ source = "registry+https://github.com/rust-lang/crates.io-index"
136
+ checksum = "5f0e2c6ed6606019b4e29e69dbaba95b11854410e5347d525002456dbbb786b6"
137
+ dependencies = [
138
+ "serde_derive",
139
+ ]
140
+
141
+ [[package]]
142
+ name = "serde_derive"
143
+ version = "1.0.219"
144
+ source = "registry+https://github.com/rust-lang/crates.io-index"
145
+ checksum = "5b0276cf7f2c73365f7157c8123c21cd9a50fbbd844757af28ca1f5925fc2a00"
146
+ dependencies = [
147
+ "proc-macro2",
148
+ "quote",
149
+ "syn 2.0.101",
150
+ ]
151
+
152
+ [[package]]
153
+ name = "smallvec"
154
+ version = "1.15.1"
155
+ dependencies = [
156
+ "arbitrary",
157
+ "bincode 1.3.3",
158
+ "bincode 2.0.1",
159
+ "debugger_test",
160
+ "debugger_test_parser",
161
+ "malloc_size_of",
162
+ "serde",
163
+ "unty",
164
+ ]
165
+
166
+ [[package]]
167
+ name = "syn"
168
+ version = "1.0.109"
169
+ source = "registry+https://github.com/rust-lang/crates.io-index"
170
+ checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237"
171
+ dependencies = [
172
+ "proc-macro2",
173
+ "quote",
174
+ "unicode-ident",
175
+ ]
176
+
177
+ [[package]]
178
+ name = "syn"
179
+ version = "2.0.101"
180
+ source = "registry+https://github.com/rust-lang/crates.io-index"
181
+ checksum = "8ce2b7fc941b3a24138a0a7cf8e858bfc6a992e7978a068a5c760deb0ed43caf"
182
+ dependencies = [
183
+ "proc-macro2",
184
+ "quote",
185
+ "unicode-ident",
186
+ ]
187
+
188
+ [[package]]
189
+ name = "unicode-ident"
190
+ version = "1.0.18"
191
+ source = "registry+https://github.com/rust-lang/crates.io-index"
192
+ checksum = "5a5f39404a5da50712a4c1eecf25e90dd62b613502b7e925fd4e4d19b5c96512"
193
+
194
+ [[package]]
195
+ name = "unty"
196
+ version = "0.0.4"
197
+ source = "registry+https://github.com/rust-lang/crates.io-index"
198
+ checksum = "6d49784317cd0d1ee7ec5c716dd598ec5b4483ea832a2dced265471cc0f690ae"
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/smallvec-1.15.1/Cargo.toml ADDED
@@ -0,0 +1,110 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 = "smallvec"
15
+ version = "1.15.1"
16
+ authors = ["The Servo Project Developers"]
17
+ build = false
18
+ autolib = false
19
+ autobins = false
20
+ autoexamples = false
21
+ autotests = false
22
+ autobenches = false
23
+ description = "'Small vector' optimization: store up to a small number of items on the stack"
24
+ documentation = "https://docs.rs/smallvec/"
25
+ readme = "README.md"
26
+ keywords = [
27
+ "small",
28
+ "vec",
29
+ "vector",
30
+ "stack",
31
+ "no_std",
32
+ ]
33
+ categories = ["data-structures"]
34
+ license = "MIT OR Apache-2.0"
35
+ repository = "https://github.com/servo/rust-smallvec"
36
+
37
+ [package.metadata.docs.rs]
38
+ all-features = true
39
+ rustdoc-args = [
40
+ "--cfg",
41
+ "docsrs",
42
+ "--generate-link-to-definition",
43
+ ]
44
+
45
+ [features]
46
+ const_generics = []
47
+ const_new = ["const_generics"]
48
+ debugger_visualizer = []
49
+ drain_filter = []
50
+ drain_keep_rest = ["drain_filter"]
51
+ impl_bincode = [
52
+ "bincode",
53
+ "unty",
54
+ ]
55
+ may_dangle = []
56
+ specialization = []
57
+ union = []
58
+ write = []
59
+
60
+ [lib]
61
+ name = "smallvec"
62
+ path = "src/lib.rs"
63
+
64
+ [[test]]
65
+ name = "debugger_visualizer"
66
+ path = "tests/debugger_visualizer.rs"
67
+ test = false
68
+ required-features = ["debugger_visualizer"]
69
+
70
+ [[test]]
71
+ name = "macro"
72
+ path = "tests/macro.rs"
73
+
74
+ [[bench]]
75
+ name = "bench"
76
+ path = "benches/bench.rs"
77
+
78
+ [dependencies.arbitrary]
79
+ version = "1"
80
+ optional = true
81
+
82
+ [dependencies.bincode]
83
+ version = "2"
84
+ optional = true
85
+ default-features = false
86
+
87
+ [dependencies.malloc_size_of]
88
+ version = "0.1"
89
+ optional = true
90
+ default-features = false
91
+
92
+ [dependencies.serde]
93
+ version = "1"
94
+ optional = true
95
+ default-features = false
96
+
97
+ [dependencies.unty]
98
+ version = "0.0.4"
99
+ optional = true
100
+ default-features = false
101
+
102
+ [dev-dependencies.bincode1]
103
+ version = "1.0.1"
104
+ package = "bincode"
105
+
106
+ [dev-dependencies.debugger_test]
107
+ version = "0.1.0"
108
+
109
+ [dev-dependencies.debugger_test_parser]
110
+ version = "0.1.0"
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/smallvec-1.15.1/Cargo.toml.orig ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [package]
2
+ name = "smallvec"
3
+ version = "1.15.1"
4
+ edition = "2018"
5
+ authors = ["The Servo Project Developers"]
6
+ license = "MIT OR Apache-2.0"
7
+ repository = "https://github.com/servo/rust-smallvec"
8
+ description = "'Small vector' optimization: store up to a small number of items on the stack"
9
+ keywords = ["small", "vec", "vector", "stack", "no_std"]
10
+ categories = ["data-structures"]
11
+ readme = "README.md"
12
+ documentation = "https://docs.rs/smallvec/"
13
+
14
+ [features]
15
+ const_generics = []
16
+ const_new = ["const_generics"]
17
+ write = []
18
+ union = []
19
+ specialization = []
20
+ may_dangle = []
21
+ drain_filter = []
22
+ drain_keep_rest = ["drain_filter"]
23
+ impl_bincode = ["bincode", "unty"]
24
+
25
+ # UNSTABLE FEATURES (requires Rust nightly)
26
+ # Enable to use the #[debugger_visualizer] attribute.
27
+ debugger_visualizer = []
28
+
29
+ [dependencies]
30
+ serde = { version = "1", optional = true, default-features = false }
31
+ malloc_size_of = { version = "0.1", optional = true, default-features = false }
32
+ arbitrary = { version = "1", optional = true }
33
+ bincode = { version = "2", optional = true, default-features = false }
34
+ unty = { version = "0.0.4", optional = true, default-features = false }
35
+
36
+ [dev-dependencies]
37
+ bincode1 = { package = "bincode", version = "1.0.1" }
38
+ debugger_test = "0.1.0"
39
+ debugger_test_parser = "0.1.0"
40
+
41
+ [package.metadata.docs.rs]
42
+ all-features = true
43
+ rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"]
44
+
45
+ [[test]]
46
+ name = "debugger_visualizer"
47
+ path = "tests/debugger_visualizer.rs"
48
+ required-features = ["debugger_visualizer"]
49
+ # Do not run these tests by default. These tests need to
50
+ # be run with the additional rustc flag `--test-threads=1`
51
+ # since each test causes a debugger to attach to the current
52
+ # test process. If multiple debuggers try to attach at the same
53
+ # time, the test will fail.
54
+ test = false
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/smallvec-1.15.1/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/smallvec-1.15.1/LICENSE-MIT ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Copyright (c) 2018 The Servo Project Developers
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/smallvec-1.15.1/README.md ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ rust-smallvec
2
+ =============
3
+
4
+ [Documentation](https://docs.rs/smallvec/)
5
+
6
+ [Release notes](https://github.com/servo/rust-smallvec/releases)
7
+
8
+ "Small vector" optimization for Rust: store up to a small number of items on the stack
9
+
10
+ ## Example
11
+
12
+ ```rust
13
+ use smallvec::{SmallVec, smallvec};
14
+
15
+ // This SmallVec can hold up to 4 items on the stack:
16
+ let mut v: SmallVec<[i32; 4]> = smallvec![1, 2, 3, 4];
17
+
18
+ // It will automatically move its contents to the heap if
19
+ // contains more than four items:
20
+ v.push(5);
21
+
22
+ // SmallVec points to a slice, so you can use normal slice
23
+ // indexing and other methods to access its contents:
24
+ v[0] = v[1] + v[2];
25
+ v.sort();
26
+ ```
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/socket2-0.6.2/.cargo-ok ADDED
@@ -0,0 +1 @@
 
 
1
+ {"v":1}
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/socket2-0.6.2/.cargo_vcs_info.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "git": {
3
+ "sha1": "9a30f4f657370e9e1aede3351ab2bd33eedb9c95"
4
+ },
5
+ "path_in_vcs": ""
6
+ }
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/socket2-0.6.2/Cargo.lock ADDED
@@ -0,0 +1,97 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # This file is automatically @generated by Cargo.
2
+ # It is not intended for manual editing.
3
+ version = 3
4
+
5
+ [[package]]
6
+ name = "libc"
7
+ version = "0.2.177"
8
+ source = "registry+https://github.com/rust-lang/crates.io-index"
9
+ checksum = "2874a2af47a2325c2001a6e6fad9b16a53b802102b528163885171cf92b15976"
10
+
11
+ [[package]]
12
+ name = "socket2"
13
+ version = "0.6.2"
14
+ dependencies = [
15
+ "libc",
16
+ "windows-sys",
17
+ ]
18
+
19
+ [[package]]
20
+ name = "windows-link"
21
+ version = "0.2.1"
22
+ source = "registry+https://github.com/rust-lang/crates.io-index"
23
+ checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5"
24
+
25
+ [[package]]
26
+ name = "windows-sys"
27
+ version = "0.60.2"
28
+ source = "registry+https://github.com/rust-lang/crates.io-index"
29
+ checksum = "f2f500e4d28234f72040990ec9d39e3a6b950f9f22d3dba18416c35882612bcb"
30
+ dependencies = [
31
+ "windows-targets",
32
+ ]
33
+
34
+ [[package]]
35
+ name = "windows-targets"
36
+ version = "0.53.5"
37
+ source = "registry+https://github.com/rust-lang/crates.io-index"
38
+ checksum = "4945f9f551b88e0d65f3db0bc25c33b8acea4d9e41163edf90dcd0b19f9069f3"
39
+ dependencies = [
40
+ "windows-link",
41
+ "windows_aarch64_gnullvm",
42
+ "windows_aarch64_msvc",
43
+ "windows_i686_gnu",
44
+ "windows_i686_gnullvm",
45
+ "windows_i686_msvc",
46
+ "windows_x86_64_gnu",
47
+ "windows_x86_64_gnullvm",
48
+ "windows_x86_64_msvc",
49
+ ]
50
+
51
+ [[package]]
52
+ name = "windows_aarch64_gnullvm"
53
+ version = "0.53.1"
54
+ source = "registry+https://github.com/rust-lang/crates.io-index"
55
+ checksum = "a9d8416fa8b42f5c947f8482c43e7d89e73a173cead56d044f6a56104a6d1b53"
56
+
57
+ [[package]]
58
+ name = "windows_aarch64_msvc"
59
+ version = "0.53.1"
60
+ source = "registry+https://github.com/rust-lang/crates.io-index"
61
+ checksum = "b9d782e804c2f632e395708e99a94275910eb9100b2114651e04744e9b125006"
62
+
63
+ [[package]]
64
+ name = "windows_i686_gnu"
65
+ version = "0.53.1"
66
+ source = "registry+https://github.com/rust-lang/crates.io-index"
67
+ checksum = "960e6da069d81e09becb0ca57a65220ddff016ff2d6af6a223cf372a506593a3"
68
+
69
+ [[package]]
70
+ name = "windows_i686_gnullvm"
71
+ version = "0.53.1"
72
+ source = "registry+https://github.com/rust-lang/crates.io-index"
73
+ checksum = "fa7359d10048f68ab8b09fa71c3daccfb0e9b559aed648a8f95469c27057180c"
74
+
75
+ [[package]]
76
+ name = "windows_i686_msvc"
77
+ version = "0.53.1"
78
+ source = "registry+https://github.com/rust-lang/crates.io-index"
79
+ checksum = "1e7ac75179f18232fe9c285163565a57ef8d3c89254a30685b57d83a38d326c2"
80
+
81
+ [[package]]
82
+ name = "windows_x86_64_gnu"
83
+ version = "0.53.1"
84
+ source = "registry+https://github.com/rust-lang/crates.io-index"
85
+ checksum = "9c3842cdd74a865a8066ab39c8a7a473c0778a3f29370b5fd6b4b9aa7df4a499"
86
+
87
+ [[package]]
88
+ name = "windows_x86_64_gnullvm"
89
+ version = "0.53.1"
90
+ source = "registry+https://github.com/rust-lang/crates.io-index"
91
+ checksum = "0ffa179e2d07eee8ad8f57493436566c7cc30ac536a3379fdf008f47f6bb7ae1"
92
+
93
+ [[package]]
94
+ name = "windows_x86_64_msvc"
95
+ version = "0.53.1"
96
+ source = "registry+https://github.com/rust-lang/crates.io-index"
97
+ checksum = "d6bbff5f0aada427a1e5a6da5f1f98158182f26556f345ac9e04d36d0ebed650"
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/socket2-0.6.2/Cargo.toml ADDED
@@ -0,0 +1,104 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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.70"
15
+ name = "socket2"
16
+ version = "0.6.2"
17
+ authors = [
18
+ "Alex Crichton <alex@alexcrichton.com>",
19
+ "Thomas de Zeeuw <thomasdezeeuw@gmail.com>",
20
+ ]
21
+ build = false
22
+ include = [
23
+ "Cargo.toml",
24
+ "LICENSE-APACHE",
25
+ "LICENSE-MIT",
26
+ "README.md",
27
+ "src/**/*.rs",
28
+ ]
29
+ autolib = false
30
+ autobins = false
31
+ autoexamples = false
32
+ autotests = false
33
+ autobenches = false
34
+ description = """
35
+ Utilities for handling networking sockets with a maximal amount of configuration
36
+ possible intended.
37
+ """
38
+ homepage = "https://github.com/rust-lang/socket2"
39
+ documentation = "https://docs.rs/socket2"
40
+ readme = "README.md"
41
+ keywords = [
42
+ "io",
43
+ "socket",
44
+ "network",
45
+ ]
46
+ categories = [
47
+ "api-bindings",
48
+ "network-programming",
49
+ ]
50
+ license = "MIT OR Apache-2.0"
51
+ repository = "https://github.com/rust-lang/socket2"
52
+
53
+ [package.metadata.docs.rs]
54
+ all-features = true
55
+ default-target = "x86_64-unknown-linux-gnu"
56
+ targets = [
57
+ "aarch64-apple-ios",
58
+ "aarch64-linux-android",
59
+ "armv7-linux-androideabi",
60
+ "i686-linux-android",
61
+ "x86_64-apple-darwin",
62
+ "x86_64-pc-solaris",
63
+ "x86_64-pc-windows-msvc",
64
+ "x86_64-unknown-freebsd",
65
+ "x86_64-unknown-fuchsia",
66
+ "x86_64-unknown-illumos",
67
+ "x86_64-unknown-linux-gnu",
68
+ "x86_64-unknown-linux-musl",
69
+ "x86_64-unknown-netbsd",
70
+ "x86_64-unknown-redox",
71
+ ]
72
+
73
+ [package.metadata.playground]
74
+ features = ["all"]
75
+
76
+ [package.metadata.cargo_check_external_types]
77
+ allowed_external_types = [
78
+ "libc::socklen_t",
79
+ "libc::*::socklen_t",
80
+ "libc::sa_family_t",
81
+ "libc::*::sa_family_t",
82
+ "windows_sys::Win32::Networking::WinSock::socklen_t",
83
+ "windows_sys::Win32::Networking::WinSock::ADDRESS_FAMILY",
84
+ ]
85
+
86
+ [features]
87
+ all = []
88
+
89
+ [lib]
90
+ name = "socket2"
91
+ path = "src/lib.rs"
92
+
93
+ [target."cfg(unix)".dependencies.libc]
94
+ version = "0.2.172"
95
+
96
+ [target."cfg(windows)".dependencies.windows-sys]
97
+ version = "0.60"
98
+ features = [
99
+ "Win32_Foundation",
100
+ "Win32_Networking_WinSock",
101
+ "Win32_System_IO",
102
+ "Win32_System_Threading",
103
+ "Win32_System_WindowsProgramming",
104
+ ]
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/socket2-0.6.2/Cargo.toml.orig ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [package]
2
+ name = "socket2"
3
+ version = "0.6.2"
4
+ authors = [
5
+ "Alex Crichton <alex@alexcrichton.com>",
6
+ "Thomas de Zeeuw <thomasdezeeuw@gmail.com>"
7
+ ]
8
+ license = "MIT OR Apache-2.0"
9
+ readme = "README.md"
10
+ repository = "https://github.com/rust-lang/socket2"
11
+ homepage = "https://github.com/rust-lang/socket2"
12
+ documentation = "https://docs.rs/socket2"
13
+ description = """
14
+ Utilities for handling networking sockets with a maximal amount of configuration
15
+ possible intended.
16
+ """
17
+ keywords = ["io", "socket", "network"]
18
+ categories = ["api-bindings", "network-programming"]
19
+ edition = "2021"
20
+ rust-version = "1.70"
21
+ include = [
22
+ "Cargo.toml",
23
+ "LICENSE-APACHE",
24
+ "LICENSE-MIT",
25
+ "README.md",
26
+ "src/**/*.rs",
27
+ ]
28
+
29
+ [package.metadata.docs.rs]
30
+ all-features = true
31
+ default-target = "x86_64-unknown-linux-gnu"
32
+ targets = [
33
+ "aarch64-apple-ios",
34
+ "aarch64-linux-android",
35
+ "armv7-linux-androideabi",
36
+ "i686-linux-android",
37
+ "x86_64-apple-darwin",
38
+ "x86_64-pc-solaris",
39
+ "x86_64-pc-windows-msvc",
40
+ "x86_64-unknown-freebsd",
41
+ "x86_64-unknown-fuchsia",
42
+ "x86_64-unknown-illumos",
43
+ "x86_64-unknown-linux-gnu",
44
+ "x86_64-unknown-linux-musl",
45
+ "x86_64-unknown-netbsd",
46
+ "x86_64-unknown-redox",
47
+ ]
48
+
49
+ [package.metadata.playground]
50
+ features = ["all"]
51
+
52
+ [target."cfg(unix)".dependencies]
53
+ libc = "0.2.172"
54
+
55
+ [target.'cfg(windows)'.dependencies.windows-sys]
56
+ version = "0.60"
57
+ features = [
58
+ "Win32_Foundation",
59
+ "Win32_Networking_WinSock",
60
+ "Win32_System_IO",
61
+ "Win32_System_Threading",
62
+ "Win32_System_WindowsProgramming",
63
+ ]
64
+
65
+ [features]
66
+ # Enable all API, even ones not available on all OSs.
67
+ all = []
68
+
69
+ [package.metadata.cargo_check_external_types]
70
+ allowed_external_types = [
71
+ # Referenced via a type alias.
72
+ "libc::socklen_t",
73
+ "libc::*::socklen_t", # libc::socklen_t isn't always detected.
74
+ "libc::sa_family_t",
75
+ "libc::*::sa_family_t", # libc::sa_family_t is always detected.
76
+ "windows_sys::Win32::Networking::WinSock::socklen_t",
77
+ "windows_sys::Win32::Networking::WinSock::ADDRESS_FAMILY",
78
+ ]
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/socket2-0.6.2/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.