Cargo Features

[dependencies]
cargo-release = { version = "0.25.13", default-features = false, features = ["vendored-libgit2", "vendored-openssl"] }
default = vendored-libgit2, vendored-openssl

Enabling vendored-openssl for crates-index

crates-index enables git2/https by default, which in turns enable openssl-sys, openssl-probe and libgit2-sys/https (which also pulls on openssl-sys).

Thus, we also need to enable git2/vendored-openssl here to build vendored version of openssl in additional to vendored-libgit2 so that cargo-release can be built without having to install libgit2 or openssl on the system and the binary can be run everywhere.

vendored-libgit2 default

Enables vendored-libgit2 of git2

vendored-openssl default

Enables vendored-openssl of git2