Cargo Features

PGP has no features set by default.

[dependencies]
pgp = { version = "0.15.0", features = ["asm", "wasm", "unstable-curve448"] }
asm

Enables asm of md-5, sha1, and sha2

wasm = getrandom

Enables wasmbind of chrono, js of getrandom ^0.2

unstable-curve448

Enables x448

Affects crypto::x448

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.

getrandom wasm?

Enables getrandom ^0.2