Cargo Features

libssh2-sys-patched has no features set by default.

[dependencies]
libssh2-sys-patched = { version = "0.3.0-p1", features = ["vendored-openssl", "zlib-ng-compat", "openssl-on-win32"] }
vendored-openssl

Enables vendored of openssl-sys

zlib-ng-compat

Enables zlib-ng of libz-sys

libz-sys:

(Omit the libc feature if you don't require the corresponding functions.)

This allows higher-level crates depending on your library to opt into zlib-ng if desired.

Building zlib-ng requires cmake.

openssl-on-win32 = openssl-sys

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.

openssl-sys unix win openssl-on-win32? vendored-openssl?