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 whenever megalodon is added without default-features = false somewhere in the dependency tree.

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.