Repository navigation
Breaking changes
-
The default crypto backend is now RustCrypto (
rust-cryptofeature) instead of aws-lc-rs. To keep using aws-lc-rs, enable theaws-lc-rsfeature:passki = { version = "0.5", default-features = false, features = ["aws-lc-rs"] }.Added
-
Pluggable crypto backends, selected by Cargo feature:
rust-crypto(default, pure Rust, built oned25519-dalek,p256,p384andrsa),aws-lc-rs(AWS-LC library) andgraviola(thegraviolacrate). If several are enabled,aws-lc-rsis used first, thengraviola, thenrust-crypto. Enabling none of them is a compile error. -
Criterion benchmarks comparing the backends (
benches/backends.rs), with results indocs/benchmarks.md. -
Salvo web framework example in
examples/.
Changed
- Random challenges are now made with
getrandom, so they work the same with every backend.