libgit2-sys 0.12.19+1.1.0

Native bindings to the libgit2 library
Documentation
[package]
name = "libgit2-sys"
version = "0.12.19+1.1.0"
authors = ["Josh Triplett <josh@joshtriplett.org>", "Alex Crichton <alex@alexcrichton.com>"]
links = "git2"
build = "build.rs"
repository = "https://github.com/rust-lang/git2-rs"
license = "MIT/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.2.19", 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 = []
# Cargo does not support requiring features on an optional dependency without
# requiring the dependency. Rather than introduce additional complexity, we
# just require libssh2 when using zlib-ng-compat. This will require building
# libssh2, but it will not add code to the final binary without the "ssh"
# feature enabled.
zlib-ng-compat = ["libz-sys/zlib-ng", "libssh2-sys/zlib-ng-compat"]