forked from rust-lang/git2-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
41 lines (36 loc) · 1.04 KB
/
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
37
38
39
40
41
[package]
name = "libgit2-sys"
version = "0.15.0+1.6.3"
authors = ["Josh Triplett <[email protected]>", "Alex Crichton <[email protected]>"]
links = "git2"
build = "build.rs"
repository = "https://github.com/rust-lang/git2-rs"
license = "MIT OR Apache-2.0"
description = "Native bindings to the libgit2 library"
exclude = [
"libgit2/ci/*",
"libgit2/docs/*",
"libgit2/examples/*",
"libgit2/fuzzers/*",
"libgit2/tests/*",
]
edition = "2018"
[lib]
name = "libgit2_sys"
path = "lib.rs"
[dependencies]
libc = "0.2"
libssh2-sys = { version = "0.3.0", optional = true }
libz-sys = { version = "1.1.0", default-features = false, features = ["libc"] }
[build-dependencies]
pkg-config = "0.3.7"
cc = { version = "1.0.43", features = ['parallel'] }
[target.'cfg(unix)'.dependencies]
openssl-sys = { version = "0.9", optional = true }
[features]
ssh = ["libssh2-sys"]
https = ["openssl-sys"]
ssh_key_from_memory = []
vendored = []
vendored-openssl = ["openssl-sys/vendored"]
zlib-ng-compat = ["libz-sys/zlib-ng", "libssh2-sys?/zlib-ng-compat"]