Cargo Features

[dependencies]
pgp = { version = "0.16.0-alpha.1", default-features = false, features = ["bzip2", "asm", "wasm"] }
default = bzip2

The bzip2 feature is set by default whenever pgp is added without default-features = false somewhere in the dependency tree.

bzip2 default

Enables bzip2

asm

Enables sha1-asm, asm of sha2, asm of md-5 and sha1

wasm = getrandom

Enables wasmbind of chrono, js of getrandom ^0.2

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