Crate features / aws-lc-rs
Feature flags · aws-lc-rs 1.18.2 · from crates.io 2026-10-24
aws-lc-rs features: what each one does, and the line to copy
Short answeraws-lc-rs 1.18.2 has 12 features. By default it turns on aws-lc-sys, alloc, ring-io, ring-sig-verify; add default-features = false to start from nothing. It needs Rust 1.71.0 or newer.
Pick features
Every feature
| Feature | In default | Turns on |
|---|---|---|
alloc | yes | nothing else (a switch the code checks) |
asan | aws-lc-sys?/asan, aws-lc-fips-sys?/asan | |
bindgen | aws-lc-sys?/bindgen, aws-lc-fips-sys?/bindgen | |
dev-tests-only | nothing else (a switch the code checks) | |
fips | dep:aws-lc-fips-sys | |
legacy-des | aws-lc-sys?/all-bindings | |
non-fips | aws-lc-sys | |
prebuilt-nasm | aws-lc-sys?/prebuilt-nasm | |
ring-io | yes | dep:untrusted |
ring-sig-verify | yes | dep:untrusted |
test_logging | nothing else (a switch the code checks) | |
unstable | nothing else (a switch the code checks) |
dep:x turns on the optional dependency x; x/y turns on feature y of dependency x (with ?, only if x is already on).
MSRV history
The minimum Rust version aws-lc-rs declares (rust-version), and the release that changed it:
- 1.0.0-rc1 (2023-04-19): Rust 1.60
- 1.6.4 (2024-04-03): Rust 1.61.0
- 1.7.2 (2024-05-23): Rust 1.63.0
- 1.14.0 (2025-09-09): Rust 1.70.0
- 1.16.0 (2026-02-18): Rust 1.71.0
Stuck on an older compiler? Pin the last version that supports it, for example cargo update -p aws-lc-rs --precise <version>, or use resolver 3, which picks compatible versions for you.
More on aws-lc-rs
Real downloads, dependents and alternatives: aws-lc-rs crate data (1.2M real downloads a day, 474 dependents).
docs.rs feature list · crates.io · license ISC AND (Apache-2.0 OR ISC) · edition 2021
Up next
Before you depend on itaws-lc-rs crate dataReal downloads, dependents, alternatives.Read it next →Did this answer your question?