Introduce the new static feature which not only makes all dependencies vendored, but also prefers rustls over OpenSSL. The new underlying features, allowing the choice of TLS implementation, are tls-openssl and tls-rustls.
OpenSSL is still the default choice when not providing any features.
Since features in Cargo are additive, the static feature works properly only with --no-default-features. Therefore, the recommended way of performing the static builds is:
Introduce the new
static
feature which not only makes all dependencies vendored, but also prefers rustls over OpenSSL. The new underlying features, allowing the choice of TLS implementation, aretls-openssl
andtls-rustls
.OpenSSL is still the default choice when not providing any features.
Since features in Cargo are additive, the
static
feature works properly only with--no-default-features
. Therefore, the recommended way of performing the static builds is:Fixes #281