forked from rust-lang/git2-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
36 lines (31 loc) · 762 Bytes
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
[package]
name = "libgit2-sys"
version = "0.7.5"
authors = ["Alex Crichton <[email protected]>"]
links = "git2"
build = "build.rs"
repository = "https://github.com/alexcrichton/git2-rs"
license = "MIT/Apache-2.0"
description = "Native bindings to the libgit2 library"
exclude = [
"libgit2/tests/*",
]
[lib]
name = "libgit2_sys"
path = "lib.rs"
[dependencies]
curl-sys = { version = "0.4.6", optional = true }
libc = "0.2"
libssh2-sys = { version = "0.2.8", optional = true }
libz-sys = "1.0.18"
[build-dependencies]
pkg-config = "0.3"
cmake = "0.1.2"
cc = "1.0"
[target.'cfg(unix)'.dependencies]
openssl-sys = { version = "0.9", optional = true }
[features]
ssh = ["libssh2-sys"]
https = ["openssl-sys"]
curl = ["curl-sys"]
ssh_key_from_memory = []