Cargo Features

[dependencies]
mundane = { version = "0.5.0", default-features = false, features = ["insecure", "kdf", "bytes", "rsa-pkcs1v15", "rsa-test-generate-large-keys", "experimental-sha512-ec", "run-symbol-conflict-test"] }

If you edit this list, make sure to update test.sh and the package.metadata.docs.rs section.

default = rsa-test-generate-large-keys

The rsa-test-generate-large-keys feature is set by default whenever mundane is added without default-features = false somewhere in the dependency tree.

insecure

Affects mundane::insecure

kdf

Affects boringssl::pkcs5_pbkdf2_hmac, raw::PKCS5_PBKDF2_HMAC, mundane::kdf

bytes

Affects mundane::bytes

rsa-pkcs1v15

Affects boringssl::rsa_sign, boringssl::rsa_verify, raw::RSA_sign, raw::RSA_verify, rsa::RsaPkcs1v15

rsa-test-generate-large-keys default

Run the RSA test_generate test with larger key sizes. This is disabled in some configurations because large RSA keys take a long time to generate. This feature only affects tests, so shouldn't be relevant to most consumers.

experimental-sha512-ec
run-symbol-conflict-test

Run the boringssl/test_symbol_conflict.sh test during cargo test. This is disabled by default because the test takes a long time to run.