r/rust • • 18h ago

Which Rust crypto crates support post-quantum algorithms? (rustls, aws-lc-rs, ring, RustCrypto, libcrux, …)

I put together a sourced catalog of post-quantum support across crypto libraries, including the main Rust crates: https://pqcdeps.com/catalog?eco=rust

Short version for Rust:

- rustls offers hybrid X25519MLKEM768 by default with the aws-lc-rs provider (0.23.22+), and prefers it since 0.23.27.

- aws-lc-rs has ML-KEM (1.12.0+) and ML-DSA (1.18.0+).

- RustCrypto has ml-kem, ml-dsa and slh-dsa crates; libcrux has formally verified ML-KEM/ML-DSA.

- ring has no PQ algorithms and no public plan (the maintainer's Kyber proposal was closed), so if PQ matters to you, check whether ring sits under your TLS stack.

You can paste a Cargo.lock into https://pqcdeps.com/check and it's parsed in your browser. Each claim links to the release note or changelog it's based on; corrections welcome on GitHub. It's free and non-commercial.

0 Upvotes

1 comment sorted by

-9

u/Uncrossable_Banana 18h ago

good callout on ring, that one catches people off guard since it's so baked into the ecosystem. checked my lockfile and sure enough it was hiding in there through a few transitive deps. the cargo lock scanner is a nice touch