Debian Codegraph @

Cargo.toml

raw ◀ ▶
Source reconstructed at patch state 0 of 2 — not the installed (fully patched) source.
2 Debian patches touch this file
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 name = "git2"
15 version = "0.21.0"
16 authors = [
17 "Josh Triplett <[email protected]>",
18 "Alex Crichton <[email protected]>",
19 ]
20 build = false
21 autolib = false
22 autobins = false
23 autoexamples = false
24 autotests = false
25 autobenches = false
26 description = """
27 Bindings to libgit2 for interoperating with git repositories. This library is
28 both threadsafe and memory safe and allows both reading and writing git
29 repositories.
30 """
31 documentation = "https://docs.rs/git2"
32 readme = "README.md"
33 keywords = ["git"]
34 categories = ["api-bindings"]
35 license = "MIT OR Apache-2.0"
36 repository = "https://github.com/rust-lang/git2-rs"
37
38 [package.metadata.docs.rs]
39 features = [
40 "https",
41 "ssh",
42 ]
43
44 [features]
45 cred = ["dep:url"]
46 default = []
47 https = [
48 "libgit2-sys/https",
49 "openssl-sys",
50 "openssl-probe",
51 "cred",
52 ]
53 ssh = [
54 "libgit2-sys/ssh",
55 "cred",
56 ]
57 unstable = []
58 unstable-sha256 = ["libgit2-sys/unstable-sha256"]
59 vendored-libgit2 = ["libgit2-sys/vendored"]
60 vendored-openssl = [
61 "openssl-sys/vendored",
62 "libgit2-sys/vendored-openssl",
63 ]
64 zlib-ng-compat = ["libgit2-sys/zlib-ng-compat"]
65
66 [lib]
67 name = "git2"
68 path = "src/lib.rs"
69
70 [[example]]
71 name = "add"
72 path = "examples/add.rs"
73
74 [[example]]
75 name = "blame"
76 path = "examples/blame.rs"
77
78 [[example]]
79 name = "cat-file"
80 path = "examples/cat-file.rs"
81
82 [[example]]
83 name = "clone"
84 path = "examples/clone.rs"
85 required-features = [
86 "https",
87 "ssh",
88 ]
89
90 [[example]]
91 name = "diff"
92 path = "examples/diff.rs"
93
94 [[example]]
95 name = "fetch"
96 path = "examples/fetch.rs"
97 required-features = [
98 "https",
99 "ssh",
100 ]
101
102 [[example]]
103 name = "file-latest-commit"
104 path = "examples/file-latest-commit.rs"
105
106 [[example]]
107 name = "init"
108 path = "examples/init.rs"
109
110 [[example]]
111 name = "log"
112 path = "examples/log.rs"
113
114 [[example]]
115 name = "ls-remote"
116 path = "examples/ls-remote.rs"
117 required-features = [
118 "https",
119 "ssh",
120 ]
121
122 [[example]]
123 name = "pull"
124 path = "examples/pull.rs"
125 required-features = [
126 "https",
127 "ssh",
128 ]
129
130 [[example]]
131 name = "rev-list"
132 path = "examples/rev-list.rs"
133
134 [[example]]
135 name = "rev-parse"
136 path = "examples/rev-parse.rs"
137
138 [[example]]
139 name = "status"
140 path = "examples/status.rs"
141
142 [[example]]
143 name = "tag"
144 path = "examples/tag.rs"
145
146 [[test]]
147 name = "add_extensions"
148 path = "tests/add_extensions.rs"
149
150 [[test]]
151 name = "end_to_end"
152 path = "tests/end_to_end.rs"
153
154 [[test]]
155 name = "get_extensions"
156 path = "tests/get_extensions.rs"
157
158 [[test]]
159 name = "global_state"
160 path = "tests/global_state.rs"
161
162 [[test]]
163 name = "remove_extensions"
164 path = "tests/remove_extensions.rs"
165
166 [dependencies.bitflags]
167 version = "2.1.0"
168
169 [dependencies.libc]
170 version = "0.2"
171
172 [dependencies.libgit2-sys]
173 version = "0.18.4"
174
175 [dependencies.log]
176 version = "0.4.8"
177
178 [dependencies.url]
179 version = "2.5.4"
180 optional = true
181
182 [dev-dependencies.clap]
183 version = "4.4.13"
184 features = ["derive"]
185
186 [dev-dependencies.tempfile]
187 version = "3.1.0"
188
189 [dev-dependencies.time]
190 version = "0.3.47"
191 features = ["formatting"]
192
193 [dev-dependencies.url]
194 version = "2.5.4"
195
196 [target.'cfg(all(unix, not(target_os = "macos")))'.dependencies.openssl-probe]
197 version = "0.1"
198 optional = true
199
200 [target.'cfg(all(unix, not(target_os = "macos")))'.dependencies.openssl-sys]
201 version = "0.9.45"
202 optional = true