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