Cargo Features
[dependencies]
ratmom = { version = "0.1.0", default-features = false, features = ["cookies", "http2", "json", "impersonate-chrome", "impersonate-ff", "native-tls", "nightly", "psl", "rustls-tls", "rustls-tls-native-certs", "spnego", "static-curl", "static-ssl", "text-decoding", "unstable-interceptors"] }
- default = http2, native-tls, text-decoding
-
These default features are set whenever
ratmom
is added without
somewhere in the dependency tree.default-features = false -
Affects
config::Configurable.cookie_jar
,ratmom::cookies
,response::ResponseExt.cookie_jar
… - http2 default
- json = serde, serde_json
-
Affects
response::ReadResponseExt.json
,response::AsyncReadResponseExt.json
,response::JsonFuture
… - impersonate-chrome
-
Enables impersonate-chrome of ratcurl
- impersonate-ff
-
Enables impersonate-ff of ratcurl
- native-tls default
-
Enables ssl of ratcurl and ratcurl-sys
ratcurl:
OpenSSL/system TLS backend
- nightly
- psl = httpdate, publicsuffix
- rustls-tls rustls-tls-native-certs?
-
Enables rustls and static-curl of ratcurl
- rustls-tls-native-certs = data-encoding, rustls-native-certs, rustls-tls
- spnego
-
Enables spnego of ratcurl-sys
- static-curl
-
Enables static-curl of ratcurl
- static-ssl
-
Enables static-ssl of ratcurl
- text-decoding default = encoding_rs, mime
-
Affects
response::ReadResponseExt.text
,response::AsyncReadResponseExt.text
… - unstable-interceptors
-
Affects
ratmom::interceptor
…
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.