Cargo Features

[dependencies]
curl-sys = { version = "0.4.72+curl-8.6.0", default-features = false, features = ["ssl", "http2", "mesalink", "rustls", "static-curl", "windows-static-ssl", "static-ssl", "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-sys is added without default-features = false somewhere in the dependency tree.

ssl default = openssl-sys
http2 = libnghttp2-sys
rustls = rustls-ffi
static-curl zlib-ng-compat?
windows-static-ssl
static-ssl

Enables vendored of openssl-sys

spnego force-system-lib-on-osx protocol-ftp
zlib-ng-compat = static-curl

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.

upkeep_7_62_0

Affects curl-sys::curl_easy_upkeep

poll_7_68_0

Affects curl-sys::curl_multi_poll, curl-sys::curl_multi_wakeup

ntlm

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.

libnghttp2-sys http2?
rustls-ffi rustls?

Enables rustls-ffi ^0.8

openssl-sys unix not mac ssl static-ssl?