Cargo Features

[dependencies]
mdbook-pdf-tungstenite = { version = "0.1.1", default-features = false, features = ["handshake", "native-tls", "native-tls-vendored", "rustls-tls-native-roots", "rustls-tls-webpki-roots"] }
default = handshake

The handshake feature is set by default whenever mdbook-pdf-tungstenite is added without default-features = false somewhere in the dependency tree.

handshake default = base64, http, httparse, sha1, url

Affects mdbook-pdf-tungstenite::client, mdbook-pdf-tungstenite::handshake

native-tls native-tls-vendored? = native-tls-crate
native-tls-vendored = native-tls

Enables vendored of native-tls

rustls-tls-native-roots = rustls, rustls-native-certs, webpki
rustls-tls-webpki-roots = rustls, webpki, webpki-roots

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.

base64 handshake

Enables base64 ^0.13.0

http handshake

Enables http ^0.2

httparse handshake
sha1 handshake
url handshake
rustls-native-certs rustls-tls-native-roots?

Enables rustls-native-certs ^0.6.0

webpki-roots rustls-tls-webpki-roots?

Enables webpki-roots ^0.22

native-tls-crate native-tls? native-tls-vendored?

Enables native-tls

rustls rustls-tls-native-roots? rustls-tls-webpki-roots?

Enables rustls ^0.20.0

webpki rustls-tls-native-roots? rustls-tls-webpki-roots?