Cargo Features
[dependencies]
megalodon = { version = "0.14.1", default-features = false, features = ["native-tls", "rustls-tls"] }
- default = rustls-tls
-
The
rustls-tls
feature is set by default whenevermegalodon
is added without
somewhere in the dependency tree.default-features = false - native-tls
-
Enables native-tls of oauth2, reqwest, and tokio-tungstenite ^0.24
reqwest:
Enables native-tls specific functionality not available by default.
- rustls-tls default
-
Enables rustls-tls-native-roots of tokio-tungstenite ^0.24, rustls-tls of oauth2 and reqwest
Megalodon has 3 features without comments.