]> git.proxmox.com Git - rustc.git/blob - vendor/gix-transport/Cargo.toml
New upstream version 1.74.1+dfsg1
[rustc.git] / vendor / gix-transport / Cargo.toml
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.65"
15 name = "gix-transport"
16 version = "0.37.0"
17 authors = ["Sebastian Thiel <sebastian.thiel@icloud.com>"]
18 include = [
19 "src/**/*",
20 "LICENSE-*",
21 "CHANGELOG.md",
22 ]
23 description = "A crate of the gitoxide project dedicated to implementing the git transport layer"
24 license = "MIT OR Apache-2.0"
25 repository = "https://github.com/Byron/gitoxide"
26
27 [package.metadata.docs.rs]
28 features = [
29 "http-client-curl",
30 "document-features",
31 "serde",
32 ]
33 rustdoc-args = [
34 "--cfg",
35 "docsrs",
36 ]
37
38 [lib]
39 doctest = false
40
41 [[test]]
42 name = "blocking-transport"
43 path = "tests/blocking-transport.rs"
44 required-features = [
45 "blocking-client",
46 "maybe-async/is_sync",
47 ]
48
49 [[test]]
50 name = "blocking-transport-http-only"
51 path = "tests/blocking-transport-http.rs"
52 required-features = [
53 "http-client-curl",
54 "maybe-async/is_sync",
55 ]
56
57 [[test]]
58 name = "async-transport"
59 path = "tests/async-transport.rs"
60 required-features = ["async-client"]
61
62 [dependencies.async-std]
63 version = "1.12.0"
64 optional = true
65
66 [dependencies.async-trait]
67 version = "0.1.51"
68 optional = true
69
70 [dependencies.base64]
71 version = "0.21.0"
72 optional = true
73
74 [dependencies.bstr]
75 version = "1.3.0"
76 features = [
77 "std",
78 "unicode",
79 ]
80 default-features = false
81
82 [dependencies.curl]
83 version = "0.4"
84 optional = true
85
86 [dependencies.document-features]
87 version = "0.2.0"
88 optional = true
89
90 [dependencies.futures-io]
91 version = "0.3.16"
92 optional = true
93
94 [dependencies.futures-lite]
95 version = "1.12.0"
96 optional = true
97
98 [dependencies.gix-command]
99 version = "^0.2.9"
100
101 [dependencies.gix-credentials]
102 version = "^0.20.0"
103 optional = true
104
105 [dependencies.gix-features]
106 version = "^0.35.0"
107
108 [dependencies.gix-packetline]
109 version = "^0.16.6"
110
111 [dependencies.gix-quote]
112 version = "^0.4.7"
113
114 [dependencies.gix-sec]
115 version = "^0.10.0"
116
117 [dependencies.gix-url]
118 version = "^0.24.0"
119
120 [dependencies.pin-project-lite]
121 version = "0.2.6"
122 optional = true
123
124 [dependencies.reqwest]
125 version = "0.11.12"
126 features = ["blocking"]
127 optional = true
128 default-features = false
129
130 [dependencies.serde]
131 version = "1.0.114"
132 features = [
133 "std",
134 "derive",
135 ]
136 optional = true
137 default-features = false
138
139 [dependencies.thiserror]
140 version = "1.0.26"
141
142 [dev-dependencies.async-std]
143 version = "1.9.0"
144 features = ["attributes"]
145
146 [dev-dependencies.blocking]
147 version = "1.0.2"
148
149 [dev-dependencies.maybe-async]
150 version = "0.2.6"
151
152 [features]
153 async-client = [
154 "gix-packetline/async-io",
155 "async-trait",
156 "futures-lite",
157 "futures-io",
158 "pin-project-lite",
159 ]
160 blocking-client = ["gix-packetline/blocking-io"]
161 default = []
162 http-client = [
163 "base64",
164 "gix-features/io-pipe",
165 "blocking-client",
166 "gix-credentials",
167 ]
168 http-client-curl = [
169 "curl",
170 "http-client",
171 ]
172 http-client-reqwest = [
173 "reqwest",
174 "http-client",
175 ]
176 serde = ["dep:serde"]