Cargo Features

[dependencies]
aws-lc-rs = { version = "1.12.0", default-features = false, features = ["alloc", "ring-io", "ring-sig-verify", "bindgen", "asan", "unstable", "prebuilt-nasm", "non-fips", "fips"] }
default = alloc, aws-lc-sys, ring-io, ring-sig-verify

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

alloc default
ring-io default

Enables untrusted ^0.7.1

Affects aws-lc-rs::io

ring-sig-verify default

Enables untrusted ^0.7.1

Affects signature::VerificationAlgorithm.verify

bindgen

Enables bindgen of optional aws-lc-fips-sys and optional aws-lc-sys

aws-lc-fips-sys:

Generate the bindings on the targetted platform as a fallback mechanism.

asan

Enables asan of optional aws-lc-fips-sys and optional aws-lc-sys

test_logging unstable
prebuilt-nasm

Enables prebuilt-nasm of optional aws-lc-sys

non-fips = aws-lc-sys

require non-FIPS

fips

require FIPS

Enables aws-lc-fips-sys

Affects aws-lc-rs::fips_mode

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.

aws-lc-sys default non-fips?