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