summaryrefslogtreecommitdiffstats
path: root/vendor/libgit2-sys/Cargo.toml
blob: 9e056c7377d25f2fce55ddcf4174759619e903d0 (plain)
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2018"
name = "libgit2-sys"
version = "0.15.1+1.6.4"
authors = [
    "Josh Triplett <josh@joshtriplett.org>",
    "Alex Crichton <alex@alexcrichton.com>",
]
build = "build.rs"
links = "git2"
exclude = [
    "libgit2/ci/*",
    "libgit2/docs/*",
    "libgit2/examples/*",
    "libgit2/fuzzers/*",
    "libgit2/tests/*",
]
description = "Native bindings to the libgit2 library"
license = "MIT OR Apache-2.0"
repository = "https://github.com/rust-lang/git2-rs"

[lib]
name = "libgit2_sys"
path = "lib.rs"

[dependencies.libc]
version = "0.2"

[dependencies.libssh2-sys]
version = "0.3.0"
optional = true

[dependencies.libz-sys]
version = "1.1.0"
features = ["libc"]
default-features = false

[build-dependencies.cc]
version = "1.0.43"
features = ["parallel"]

[build-dependencies.pkg-config]
version = "0.3.7"

[features]
https = ["openssl-sys"]
ssh = ["libssh2-sys"]
ssh_key_from_memory = []
vendored = []
vendored-openssl = ["openssl-sys/vendored"]
zlib-ng-compat = [
    "libz-sys/zlib-ng",
    "libssh2-sys?/zlib-ng-compat",
]

[target."cfg(unix)".dependencies.openssl-sys]
version = "0.9"
optional = true