From 07d95316e2df7cd841763b37369c6edbcbe49bfe Mon Sep 17 00:00:00 2001 From: Tony Arcieri Date: Sun, 10 May 2026 14:52:14 -0600 Subject: [PATCH] ml-kem v0.3.1 --- Cargo.lock | 2 +- ml-kem/CHANGELOG.md | 6 ++++++ ml-kem/Cargo.toml | 1 + 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/Cargo.lock b/Cargo.lock index 9be2fbcc..f8a21b86 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -807,7 +807,7 @@ dependencies = [ [[package]] name = "module-lattice" -version = "0.2.2" +version = "0.2.3" dependencies = [ "ctutils", "getrandom", diff --git a/ml-kem/CHANGELOG.md b/ml-kem/CHANGELOG.md index 82b1b63b..98037a19 100644 --- a/ml-kem/CHANGELOG.md +++ b/ml-kem/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## 0.3.1 (2026-05-10) +### Added +- Optional on-by-default heap offload support ([#310]) + +[#310]: https://github.com/RustCrypto/KEMs/pull/310 + ## 0.3.0 (2026-04-28) ### Added - `Seed` support e.g. `DecapsulationKey::from_seed` ([#133], [#138]) diff --git a/ml-kem/Cargo.toml b/ml-kem/Cargo.toml index a0790748..ffe4c504 100644 --- a/ml-kem/Cargo.toml +++ b/ml-kem/Cargo.toml @@ -16,6 +16,7 @@ keywords = ["crypto", "kyber", "lattice", "post-quantum"] exclude = ["tests/key-gen.rs", "tests/key-gen.json", "tests/encap-decap.rs", "tests/encap-decap.json"] [features] +default = ["alloc"] alloc = ["module-lattice/alloc", "pkcs8?/alloc"] getrandom = ["kem/getrandom"]