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
somewhere in the dependency tree.default-features = false - tokio default
-
Async runtime
- async-std
- rustls default
-
Rust crypto
- 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)