]> git.proxmox.com Git - rustc.git/blame - vendor/gix-features/Cargo.toml
New upstream version 1.74.1+dfsg1
[rustc.git] / vendor / gix-features / Cargo.toml
CommitLineData
0a29b90c
FG
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]
fe692bf9 13edition = "2021"
781aab86 14rust-version = "1.65"
0a29b90c 15name = "gix-features"
781aab86 16version = "0.35.0"
0a29b90c
FG
17authors = ["Sebastian Thiel <sebastian.thiel@icloud.com>"]
18description = "A crate to integrate various capabilities using compile-time feature flags"
781aab86 19license = "MIT OR Apache-2.0"
0a29b90c 20repository = "https://github.com/Byron/gitoxide"
0a29b90c
FG
21
22[package.metadata.docs.rs]
23all-features = true
24features = ["document-features"]
25rustdoc-args = [
26 "--cfg",
27 "docsrs",
28]
29
30[lib]
31test = false
32doctest = false
33
34[[test]]
35name = "hash"
36path = "tests/hash.rs"
37required-features = ["rustsha1"]
38
39[[test]]
40name = "parallel"
41path = "tests/parallel_threaded.rs"
42required-features = [
43 "parallel",
44 "rustsha1",
45]
46
47[[test]]
48name = "multi-threaded"
49path = "tests/parallel_shared_threaded.rs"
50required-features = [
51 "parallel",
52 "rustsha1",
53]
54
55[[test]]
56name = "single-threaded"
57path = "tests/parallel_shared.rs"
58required-features = ["rustsha1"]
59
60[[test]]
61name = "pipe"
62path = "tests/pipe.rs"
63required-features = ["io-pipe"]
64
65[dependencies.bytes]
66version = "1.0.0"
67optional = true
68
69[dependencies.bytesize]
70version = "1.0.1"
71optional = true
72
73[dependencies.crc32fast]
74version = "1.2.1"
75optional = true
76
77[dependencies.crossbeam-channel]
78version = "0.5.0"
79optional = true
80
81[dependencies.document-features]
82version = "0.2.0"
83optional = true
84
85[dependencies.flate2]
49aad941 86version = "1.0.25"
0a29b90c
FG
87optional = true
88default-features = false
89
90[dependencies.gix-hash]
781aab86
FG
91version = "^0.13.0"
92
93[dependencies.gix-trace]
94version = "^0.1.3"
0a29b90c
FG
95
96[dependencies.jwalk]
97version = "0.8.1"
98optional = true
99
100[dependencies.once_cell]
101version = "1.13.0"
102optional = true
103
104[dependencies.parking_lot]
105version = "0.12.0"
106optional = true
107default-features = false
108
109[dependencies.prodash]
781aab86 110version = "26.2.2"
0a29b90c
FG
111optional = true
112default-features = false
113
114[dependencies.sha1]
115version = "0.10.0"
116optional = true
117
118[dependencies.sha1_smol]
119version = "1.0.0"
120optional = true
121
122[dependencies.thiserror]
123version = "1.0.38"
124optional = true
125
126[dependencies.walkdir]
127version = "2.3.2"
128optional = true
129
130[dev-dependencies.bstr]
131version = "1.3.0"
132default-features = false
133
134[features]
135cache-efficiency-debug = []
136crc32 = ["dep:crc32fast"]
137default = []
138fast-sha1 = ["dep:sha1"]
139fs-walkdir-parallel = ["dep:jwalk"]
140io-pipe = ["dep:bytes"]
141once_cell = ["dep:once_cell"]
142parallel = [
143 "dep:crossbeam-channel",
144 "dep:parking_lot",
145]
781aab86 146progress = ["prodash"]
0a29b90c
FG
147progress-unit-bytes = [
148 "dep:bytesize",
149 "prodash?/unit-bytes",
150]
151progress-unit-human-numbers = ["prodash?/unit-human"]
152rustsha1 = ["dep:sha1_smol"]
781aab86
FG
153tracing = ["gix-trace/tracing"]
154tracing-detail = ["gix-trace/tracing-detail"]
0a29b90c
FG
155walkdir = ["dep:walkdir"]
156zlib = [
157 "dep:flate2",
158 "flate2?/rust_backend",
159 "dep:thiserror",
160]
161zlib-ng = [
162 "zlib",
163 "flate2?/zlib-ng",
164]
165zlib-ng-compat = [
166 "zlib",
167 "flate2?/zlib-ng-compat",
168]
169zlib-rust-backend = [
170 "zlib",
171 "flate2?/rust_backend",
172]
173zlib-stock = [
174 "zlib",
175 "flate2?/zlib",
176]
177
178[target."cfg(all(any(target_arch = \"aarch64\", target_arch = \"x86\", target_arch = \"x86_64\"), not(target_env = \"msvc\")))".dependencies.sha1]
179version = "0.10.0"
180features = ["asm"]
181optional = true
182
183[target."cfg(unix)".dependencies.libc]
184version = "0.2.119"