Cargo Features

[dependencies]
ring = { version = "0.17.8", default-features = false, features = ["std", "alloc", "dev_urandom_fallback", "unstable-testing-arm-no-hw", "test_logging", "wasm32_unknown_unknown_js", "slow_tests"] }
default = alloc, dev_urandom_fallback

These features are documented in the top-level module's documentation.

std = alloc

Affects test::compile_time_assert_std_error_error

alloc default std?

Affects arithmetic::bigint, ring::rsa, limb::limbs_less_than_limb_constant_time, limb::Window, limb::fold_5_bit_windows, padding::RsaEncoding, signature::RsaKeyPair

dev_urandom_fallback default
less-safe-getrandom-custom-or-rdrand unstable-testing-arm-no-hw
unstable-testing-arm-no-neon test_logging
wasm32_unknown_unknown_js

Enables js of getrandom

slow_tests