Cargo Features
PGP has no features set by default.
[dependencies]
pgp = { version = "0.14.0", features = ["nightly", "profile", "asm", "wasm"] }
- nightly
-
Enables nightly of num-bigint-dig, rand, and rsa
rand:
some additions requiring nightly Rust
- profile = gperftools
- asm
- wasm = getrandom
-
Enables wasmbind of chrono and js of getrandom
getrandom:
Feature to enable JavaScript bindings on wasm*-unknown-unknown
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.