Debian Codegraph @

Cargo.toml

raw ◀ ▶
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
59 [lib]
60 name = "git2"
61 path = "src/lib.rs"
62
63 [[example]]
64 name = "add"
65 path = "examples/add.rs"
66
67 [[example]]
68 name = "blame"
69 path = "examples/blame.rs"
70
71 [[example]]
72 name = "cat-file"
73 path = "examples/cat-file.rs"
74
75 [[example]]
76 name = "clone"
77 path = "examples/clone.rs"
78 required-features = [
79 "https",
80 "ssh",
81 ]
82
83 [[example]]
84 name = "diff"
85 path = "examples/diff.rs"
86
87 [[example]]
88 name = "fetch"
89 path = "examples/fetch.rs"
90 required-features = [
91 "https",
92 "ssh",
93 ]
94
95 [[example]]
96 name = "file-latest-commit"
97 path = "examples/file-latest-commit.rs"
98
99 [[example]]
100 name = "init"
101 path = "examples/init.rs"
102
103 [[example]]
104 name = "log"
105 path = "examples/log.rs"
106
107 [[example]]
108 name = "ls-remote"
109 path = "examples/ls-remote.rs"
110 required-features = [
111 "https",
112 "ssh",
113 ]
114
115 [[example]]
116 name = "pull"
117 path = "examples/pull.rs"
118 required-features = [
119 "https",
120 "ssh",
121 ]
122
123 [[example]]
124 name = "rev-list"
125 path = "examples/rev-list.rs"
126
127 [[example]]
128 name = "rev-parse"
129 path = "examples/rev-parse.rs"
130
131 [[example]]
132 name = "status"
133 path = "examples/status.rs"
134
135 [[example]]
136 name = "tag"
137 path = "examples/tag.rs"
138
139 [[test]]
140 name = "add_extensions"
141 path = "tests/add_extensions.rs"
142
143 [[test]]
144 name = "end_to_end"
145 path = "tests/end_to_end.rs"
146
147 [[test]]
148 name = "get_extensions"
149 path = "tests/get_extensions.rs"
150
151 [[test]]
152 name = "global_state"
153 path = "tests/global_state.rs"
154
155 [[test]]
156 name = "remove_extensions"
157 path = "tests/remove_extensions.rs"
158
159 [dependencies.bitflags]
160 version = "2.1.0"
161
162 [dependencies.libc]
163 version = "0.2"
164
165 [dependencies.libgit2-sys]
166 version = "0.18.4"
167
168 [dependencies.log]
169 version = "0.4.8"
170
171 [dependencies.url]
172 version = "2.5.4"
173 optional = true
174
175 [dev-dependencies.clap]
176 version = "4.4.13"
177 features = ["derive"]
178
179 [dev-dependencies.tempfile]
180 version = "3.1.0"
181
182 [dev-dependencies.time]
183 version = "0.3.47"
184 features = ["formatting"]
185
186 [dev-dependencies.url]
187 version = "2.5.4"
188
189 [target.'cfg(all(unix, not(target_os = "macos")))'.dependencies.openssl-probe]
•190 version = "0.2"
191 optional = true
192
193 [target.'cfg(all(unix, not(target_os = "macos")))'.dependencies.openssl-sys]
194 version = "0.9.45"
195 optional = true
•196
197 [lints.rust.unexpected_cfgs]
198 level = "warn"
199 check-cfg = [
200 'cfg(feature, values("unstable-sha256"))',
201 'cfg(feature, values("vendored-libgit2"))',
202 'cfg(feature, values("vendored-openssl"))',
203 'cfg(feature, values("zlib-ng-compat"))']