Cargo Features
[dependencies]
fantoccini = { version = "0.21.2", default-features = false, features = ["native-tls", "rustls-tls", "openssl-macros"] }
- default = native-tls
-
The
native-tls
feature is set by default wheneverfantoccini
is added without
somewhere in the dependency tree.default-features = false - native-tls default = hyper-tls, openssl
- rustls-tls = hyper-rustls
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.
- hyper-rustls rustls-tls?
- hyper-tls native-tls
- openssl-macros cfg(any()) implicit feature
-
Enables openssl-macros
openssl-macros:
Internal macros used by the openssl crate
- openssl cfg(any()) native-tls