Cargo Features
[dependencies]
curl-sys = { version = "0.4.78+curl-8.11.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 whenevercurl-sys
is added without
somewhere in the dependency tree.default-features = false - ssl default = openssl-sys
- http2 = libnghttp2-sys
- mesalink
- 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
-
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. - 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?
- openssl-sys unix not mac ssl static-ssl?