Cargo Features
pi_async_httpc has no features set by default.
[dependencies]
pi_async_httpc = { version = "0.5.6", features = ["frontend", "not_compression", "not_compression_frontend"] }
- default
-
These default features are set whenever
pi_async_httpc
is added without
somewhere in the dependency tree.default-features = false Enables brotli, cookies, deflate, gzip, json, multipart, native-tls, rustls-tls and socks of reqwest ^0.11
- frontend
-
Enables cookies, deflate, gzip, json, multipart, native-tls, native-tls-alpn, rustls-tls and socks of reqwest ^0.11
- not_compression
-
Enables cookies, json, multipart, native-tls, rustls-tls and socks of reqwest ^0.11
- not_compression_frontend
-
Enables cookies, json, multipart, native-tls, native-tls-alpn, rustls-tls and socks of reqwest ^0.11
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.
- reqwest default frontend? not_compression? not_compression_frontend?
-
Enables reqwest ^0.11