Cargo Features

[dependencies]
rsa = { version = "0.10.0-pre.3", default-features = false, features = ["std", "hazmat", "getrandom", "nightly", "serde", "pem", "pkcs5", "u64_digit", "sha1", "sha2"] }
default = pem, std, u64_digit

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

std default

Enables std of digest, pkcs1, pkcs8, rand_core, and signature

hazmat

Affects rsa::hazmat

getrandom

Enables getrandom of rand_core

nightly

Enables nightly of num-bigint-dig

serde

Enables serde and serdect, serde of num-bigint-dig

pem default

Enables pem of pkcs1 and pkcs8

pkcs5

Enables encryption of pkcs8

u64_digit default

Enables u64_digit of num-bigint-dig

Features from optional dependencies

sha1 implicit feature

Enables sha1

optional dependencies

sha2 implicit feature