]> git.proxmox.com Git - rustc.git/blame - vendor/gix-protocol/Cargo.toml
New upstream version 1.75.0+dfsg1
[rustc.git] / vendor / gix-protocol / 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]
13edition = "2021"
781aab86 14rust-version = "1.65"
0a29b90c 15name = "gix-protocol"
ed00b5ec 16version = "0.41.1"
0a29b90c
FG
17authors = ["Sebastian Thiel <sebastian.thiel@icloud.com>"]
18include = [
19 "src/**/*",
fe692bf9 20 "LICENSE-*",
0a29b90c
FG
21 "CHANGELOG.md",
22 "!**/tests/**/*",
23]
781aab86
FG
24description = "A crate of the gitoxide project for implementing git protocols"
25license = "MIT OR Apache-2.0"
0a29b90c
FG
26repository = "https://github.com/Byron/gitoxide"
27
28[package.metadata.docs.rs]
29features = [
30 "blocking-client",
31 "document-features",
49aad941 32 "serde",
0a29b90c
FG
33]
34rustdoc-args = [
35 "--cfg",
36 "docsrs",
37]
38
39[lib]
40doctest = false
41
42[[test]]
43name = "blocking-client-protocol"
44path = "tests/blocking-protocol.rs"
45required-features = ["blocking-client"]
46
47[[test]]
48name = "async-client-protocol"
49path = "tests/async-protocol.rs"
50required-features = ["async-client"]
51
52[dependencies.async-trait]
53version = "0.1.51"
54optional = true
55
56[dependencies.bstr]
57version = "1.3.0"
58features = [
59 "std",
60 "unicode",
61]
62default-features = false
63
64[dependencies.btoi]
65version = "0.4.2"
66
67[dependencies.document-features]
68version = "0.2.0"
69optional = true
70
71[dependencies.futures-io]
72version = "0.3.16"
73optional = true
74
75[dependencies.futures-lite]
76version = "1.12.0"
77optional = true
78
79[dependencies.gix-credentials]
ed00b5ec 80version = "^0.21.0"
781aab86
FG
81
82[dependencies.gix-date]
83version = "^0.8.0"
0a29b90c
FG
84
85[dependencies.gix-features]
ed00b5ec 86version = "^0.36.0"
0a29b90c
FG
87features = ["progress"]
88
89[dependencies.gix-hash]
ed00b5ec 90version = "^0.13.1"
0a29b90c
FG
91
92[dependencies.gix-transport]
ed00b5ec 93version = "^0.38.0"
0a29b90c
FG
94
95[dependencies.maybe-async]
96version = "0.2.6"
97
0a29b90c
FG
98[dependencies.serde]
99version = "1.0.114"
100features = ["derive"]
101optional = true
102default-features = false
103
104[dependencies.thiserror]
105version = "1.0.32"
106
781aab86
FG
107[dependencies.winnow]
108version = "0.5.14"
109features = ["simd"]
110
0a29b90c
FG
111[dev-dependencies.async-std]
112version = "1.9.0"
113features = ["attributes"]
114
115[dev-dependencies.gix-packetline]
ed00b5ec 116version = "^0.16.7"
0a29b90c
FG
117
118[features]
119async-client = [
120 "gix-transport/async-client",
121 "async-trait",
122 "futures-io",
123 "futures-lite",
124]
125blocking-client = [
126 "gix-transport/blocking-client",
127 "maybe-async/is_sync",
128]
49aad941
FG
129serde = [
130 "dep:serde",
0a29b90c 131 "bstr/serde",
49aad941
FG
132 "gix-transport/serde",
133 "gix-hash/serde",
0a29b90c 134]