Cargo Features

[dependencies]
pgp-lib = { version = "1.0.0", default-features = false, features = ["tokio", "async-std", "rustls", "native-tls", "key-discovery", "vendored"] }
default = rustls, tokio

These default features are set whenever pgp-lib is added without default-features = false somewhere in the dependency tree.

tokio default

Async runtime

Enables tokio, tokio of optional http-lib

async-std

Enables async-std, async-std of optional http-lib

rustls default

Rust crypto

Enables rustls of optional http-lib

native-tls

Enables native-tls of optional http-lib

key-discovery

Public key discovery (WKD, HKP…)

Enables async-recursion, futures, http-lib, sha1, and z-base-32

Affects pgp-lib::http

vendored

Vendored (mostly for OpenSSL)

Enables vendored of optional http-lib