Cargo Features

rsa_ext = { version = "0.1.2", default-features = false, features = ["std", "hazmat", "nightly", "serde", "expose-internals", "pem", "pkcs5", "getrandom"] }
default = pem, std

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

std default

Enables std of digest, pkcs1 ^0.4, pkcs8 ^0.9, rand_core, and signature ^1.6.4


Enables hazmat-preview of signature ^1.6.4


Enables nightly of num-bigint-dig

serde = serde_crate

Enables serde of num-bigint-dig


Affects rsa_ext::internals

pem default

Enables pem of pkcs1 ^0.4 and pkcs8 ^0.9


Enables encryption of pkcs8 ^0.9


Enables getrandom of rand_core

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.

serde_crate serde?

Enables serde