Debian Codegraph @

third_party/rust/zip/Cargo.toml

raw
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.73.0"
15 name = "zip"
16 version = "2.1.3"
17 authors = [
18 "Mathijs van de Nes <[email protected]>",
19 "Marli Frost <[email protected]>",
20 "Ryan Levick <[email protected]>",
21 "Chris Hennick <[email protected]>",
22 ]
23 build = "src/build.rs"
24 exclude = [
25 "tests/**",
26 "examples/**",
27 ".github/**",
28 "fuzz/**",
29 ]
30 autobins = false
31 autoexamples = false
32 autotests = false
33 autobenches = false
34 description = """
35 Library to support the reading and writing of zip files.
36 """
37 readme = "README.md"
38 keywords = [
39 "zip",
40 "archive",
41 "compression",
42 ]
43 license = "MIT"
44 repository = "https://github.com/zip-rs/zip2.git"
45
46 [package.metadata.docs.rs]
47 all-features = true
48 rustdoc-args = [
49 "--cfg",
50 "docsrs",
51 ]
52
53 [lib]
54 name = "zip"
55 path = "src/lib.rs"
56
57 [[bench]]
58 name = "merge_archive"
59 path = "benches/merge_archive.rs"
60 harness = false
61
62 [[bench]]
63 name = "read_entry"
64 path = "benches/read_entry.rs"
65 harness = false
66
67 [[bench]]
68 name = "read_metadata"
69 path = "benches/read_metadata.rs"
70 harness = false
71
72 [dependencies.aes]
73 version = "0.8.4"
74 optional = true
75
76 [dependencies.bzip2]
77 version = "0.4.4"
78 optional = true
79
80 [dependencies.chrono]
81 version = "0.4.38"
82 optional = true
83
84 [dependencies.constant_time_eq]
85 version = "0.3.0"
86 optional = true
87
88 [dependencies.crc32fast]
89 version = "1.4.2"
90
91 [dependencies.deflate64]
92 version = "0.1.8"
93 optional = true
94
95 [dependencies.displaydoc]
96 version = "0.2.4"
97 default-features = false
98
99 [dependencies.flate2]
100 version = "1.0.30"
101 optional = true
102 default-features = false
103
104 [dependencies.hmac]
105 version = "0.12.1"
106 features = ["reset"]
107 optional = true
108
109 [dependencies.indexmap]
110 version = "2"
111
112 [dependencies.lzma-rs]
113 version = "0.3.0"
114 optional = true
115 default-features = false
116
117 [dependencies.memchr]
118 version = "2.7.2"
119
120 [dependencies.pbkdf2]
121 version = "0.12.2"
122 optional = true
123
124 [dependencies.rand]
125 version = "0.8.5"
126 optional = true
127
128 [dependencies.sha1]
129 version = "0.10.6"
130 optional = true
131
132 [dependencies.thiserror]
133 version = "1.0.61"
134
135 [dependencies.time]
136 version = "0.3.36"
137 features = ["std"]
138 optional = true
139 default-features = false
140
141 [dependencies.zeroize]
142 version = "1.8.1"
143 features = ["zeroize_derive"]
144 optional = true
145
146 [dependencies.zopfli]
147 version = "0.8.1"
148 optional = true
149
150 [dependencies.zstd]
151 version = "0.13.1"
152 optional = true
153 default-features = false
154
155 [dev-dependencies.anyhow]
156 version = "1"
157
158 [dev-dependencies.bencher]
159 version = "0.1.5"
160
161 [dev-dependencies.clap]
162 version = "=4.4.18"
163 features = ["derive"]
164
165 [dev-dependencies.getrandom]
166 version = "0.2.15"
167 features = [
168 "js",
169 "std",
170 ]
171
172 [dev-dependencies.tempdir]
173 version = "0.3.7"
174
175 [dev-dependencies.time]
176 version = "0.3.36"
177 features = [
178 "formatting",
179 "macros",
180 ]
181 default-features = false
182
183 [dev-dependencies.walkdir]
184 version = "2.5.0"
185
186 [features]
187 _all-features = []
188 _deflate-any = []
189 aes-crypto = [
190 "aes",
191 "constant_time_eq",
192 "hmac",
193 "pbkdf2",
194 "sha1",
195 "rand",
196 "zeroize",
197 ]
198 chrono = ["chrono/default"]
199 default = [
200 "aes-crypto",
201 "bzip2",
202 "deflate64",
203 "deflate",
204 "lzma",
205 "time",
206 "zstd",
207 ]
208 deflate = [
209 "flate2/rust_backend",
210 "deflate-zopfli",
211 "deflate-flate2",
212 ]
213 deflate-flate2 = [
214 "flate2/any_impl",
215 "_deflate-any",
216 ]
217 deflate-miniz = [
218 "deflate",
219 "deflate-flate2",
220 ]
221 deflate-zlib = [
222 "flate2/zlib",
223 "deflate-flate2",
224 ]
225 deflate-zlib-ng = [
226 "flate2/zlib-ng",
227 "deflate-flate2",
228 ]
229 deflate-zopfli = [
230 "zopfli",
231 "_deflate-any",
232 ]
233 lzma = ["lzma-rs/stream"]
234 unreserved = []
235
236 [target."cfg(any(all(target_arch = \"arm\", target_pointer_width = \"32\"), target_arch = \"mips\", target_arch = \"powerpc\"))".dependencies.crossbeam-utils]
237 version = "0.8.20"
238
239 [target."cfg(fuzzing)".dependencies.arbitrary]
240 version = "1.3.2"
241 features = ["derive"]