Cargo Features

[dependencies]
fantoccini = { version = "0.21.3", default-features = false, features = ["native-tls", "rustls-tls", "openssl-macros"] }
default = native-tls

The native-tls feature is set by default whenever fantoccini is added without default-features = false somewhere in the dependency tree.

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