Cargo Features

[dependencies]
git2-hyper = { version = "0.1.1", default-features = false, features = ["http2", "native", "rustls"] }
default = http2, native

These default features are set whenever git2-hyper is added without default-features = false somewhere in the dependency tree.

http2 default

Enables http2 of hyper ^0.14

native default = hyper-tls
rustls = hyper-rustls

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

hyper-tls native

Enables hyper-tls ^0.5

hyper-rustls rustls?

Enables hyper-rustls ^0.22