Cargo Features

[dependencies]
curl = { version = "0.4.44", default-features = false, features = ["ssl", "mesalink", "http2", "spnego", "rustls", "static-curl", "static-ssl", "force-system-lib-on-osx", "protocol-ftp", "zlib-ng-compat", "upkeep_7_62_0", "poll_7_68_0", "ntlm"] }
default = ssl

The ssl feature is set by default whenever curl is added without default-features = false somewhere in the dependency tree.

ssl default = openssl-probe, openssl-sys

OpenSSL/system TLS backend

Enables ssl of curl-sys

MesaLink TLS backend

Enables mesalink of curl-sys

http2

Enables http2 of curl-sys

spnego

Enables spnego of curl-sys

rustls

Enables rustls of curl-sys

static-curl zlib-ng-compat?

Enables static-curl of curl-sys

static-ssl

Enables static-ssl of curl-sys

force-system-lib-on-osx

Enables force-system-lib-on-osx of curl-sys

protocol-ftp

Enables protocol-ftp of curl-sys

zlib-ng-compat = static-curl

Enables zlib-ng-compat of curl-sys

upkeep_7_62_0

Enables upkeep_7_62_0 of curl-sys

poll_7_68_0

Enables poll_7_68_0 of curl-sys

Affects multi::MultiWaker

ntlm

Enables ntlm of curl-sys

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

openssl-probe cfg(all(unix, not(target_os = "macos"))) ssl
openssl-sys cfg(all(unix, not(target_os = "macos"))) ssl