]>
Commit | Line | Data |
---|---|---|
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] | |
13 | edition = "2021" | |
781aab86 | 14 | rust-version = "1.65" |
0a29b90c | 15 | name = "gix-protocol" |
ed00b5ec | 16 | version = "0.41.1" |
0a29b90c FG |
17 | authors = ["Sebastian Thiel <sebastian.thiel@icloud.com>"] |
18 | include = [ | |
19 | "src/**/*", | |
fe692bf9 | 20 | "LICENSE-*", |
0a29b90c FG |
21 | "CHANGELOG.md", |
22 | "!**/tests/**/*", | |
23 | ] | |
781aab86 FG |
24 | description = "A crate of the gitoxide project for implementing git protocols" |
25 | license = "MIT OR Apache-2.0" | |
0a29b90c FG |
26 | repository = "https://github.com/Byron/gitoxide" |
27 | ||
28 | [package.metadata.docs.rs] | |
29 | features = [ | |
30 | "blocking-client", | |
31 | "document-features", | |
49aad941 | 32 | "serde", |
0a29b90c FG |
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] | |
ed00b5ec | 80 | version = "^0.21.0" |
781aab86 FG |
81 | |
82 | [dependencies.gix-date] | |
83 | version = "^0.8.0" | |
0a29b90c FG |
84 | |
85 | [dependencies.gix-features] | |
ed00b5ec | 86 | version = "^0.36.0" |
0a29b90c FG |
87 | features = ["progress"] |
88 | ||
89 | [dependencies.gix-hash] | |
ed00b5ec | 90 | version = "^0.13.1" |
0a29b90c FG |
91 | |
92 | [dependencies.gix-transport] | |
ed00b5ec | 93 | version = "^0.38.0" |
0a29b90c FG |
94 | |
95 | [dependencies.maybe-async] | |
96 | version = "0.2.6" | |
97 | ||
0a29b90c FG |
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 | ||
781aab86 FG |
107 | [dependencies.winnow] |
108 | version = "0.5.14" | |
109 | features = ["simd"] | |
110 | ||
0a29b90c FG |
111 | [dev-dependencies.async-std] |
112 | version = "1.9.0" | |
113 | features = ["attributes"] | |
114 | ||
115 | [dev-dependencies.gix-packetline] | |
ed00b5ec | 116 | version = "^0.16.7" |
0a29b90c FG |
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 | ] | |
49aad941 FG |
129 | serde = [ |
130 | "dep:serde", | |
0a29b90c | 131 | "bstr/serde", |
49aad941 FG |
132 | "gix-transport/serde", |
133 | "gix-hash/serde", | |
0a29b90c | 134 | ] |