Cargo Features

[dependencies]
ring-wasi = { version = "0.16.25", default-features = false, features = ["std", "alloc", "dev_urandom_fallback", "test_logging", "wasm32_c", "slow_tests"] }
default = alloc, dev_urandom_fallback, wasm32_c

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, limb::limbs_less_than_limb_constant_time, limb::limbs_are_even_constant_time, limb::limbs_equal_limb_constant_time, limb::limbs_minimal_bits, limb::Window, limb::fold_5_bit_windows, padding::RsaEncoding, test::TestCase, test::File, test::run, test::from_hex

dev_urandom_fallback default = once_cell
test_logging
wasm32_c default
internal_benches slow_tests

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.

once_cell dragonfly freebsd illumos netbsd openbsd solaris android linux dev_urandom_fallback