Skip to content

Upgrade all crates to the 2024 edition and bump MSRV to 1.85#118

Merged
tarcieri merged 1 commit intoRustCrypto:masterfrom
baloo:baloo/rand-core-0.9
Apr 21, 2025
Merged

Upgrade all crates to the 2024 edition and bump MSRV to 1.85#118
tarcieri merged 1 commit intoRustCrypto:masterfrom
baloo:baloo/rand-core-0.9

Conversation

@baloo
Copy link
Copy Markdown
Member

@baloo baloo commented Mar 14, 2025

No description provided.

@baloo baloo marked this pull request as draft March 14, 2025 16:02
@baloo baloo force-pushed the baloo/rand-core-0.9 branch 2 times, most recently from a833395 to dae209b Compare March 20, 2025 23:36
@baloo baloo force-pushed the baloo/rand-core-0.9 branch from dae209b to b523390 Compare March 21, 2025 23:49
@baloo baloo marked this pull request as ready for review March 21, 2025 23:49
@baloo baloo marked this pull request as draft March 22, 2025 00:28
@baloo baloo marked this pull request as ready for review March 22, 2025 00:36
@baloo baloo force-pushed the baloo/rand-core-0.9 branch 4 times, most recently from 6913b5f to 55fb35c Compare March 22, 2025 20:46
Comment thread Cargo.toml
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should the patches.crates-io portion be removed before merge?

Copy link
Copy Markdown
Member

@newpavlov newpavlov Mar 24, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This would require cutting a lot of pre-releases, so having temporary patches is fine. Though we probably should merge the linked RustCrypto PRs first (and update the patch section accordingly) before merging this one.

@tarcieri
Copy link
Copy Markdown
Member

@baloo can you rebase?

@baloo baloo force-pushed the baloo/rand-core-0.9 branch from 55fb35c to 1bf7c1f Compare April 21, 2025 16:24
@tarcieri
Copy link
Copy Markdown
Member

Needs rustfmt

@baloo baloo force-pushed the baloo/rand-core-0.9 branch from 1bf7c1f to 82c46d7 Compare April 21, 2025 16:35
@tarcieri tarcieri merged commit c8a6bff into RustCrypto:master Apr 21, 2025
39 checks passed
@tarcieri tarcieri mentioned this pull request Apr 28, 2026
tarcieri added a commit that referenced this pull request Apr 28, 2026
## Added
- `Seed` support e.g. `DecapsulationKey::from_seed` (#133, #138)
- PKCS#8 support (#135)
- `KeyInit`, `KeySizeUser`, and `KeyExport` impls for decapsulation keys
  (#156, #228)
- Parameter set modules: `ml_kem_512`, `mk_kem_768`, `mk_kem_1024`
  (#162)
- `DecapsulationKey::from_expanded` deprecated compatibility support
  (#163)
- `TryKeyInit` and `KeyExport` impls for encapsulation keys (#188)
- Validations against Wycheproof test vectors (#213, #214, #215,
  #217)
- Implement `kem::Kem` trait (#223)
- Support for `kem::FromSeed` trait (#255)

## Changed
- Edition changed to 2024 and MSRV bumped to 1.85 (#118)
- Relax MSRV policy and allow MSRV bumps in patch releases
- Upgrade `hybrid-array` dependency to 0.4 (#129)
- Extract `module-lattice` crate (#199, #202, #204, #209,
  #210, #211, #212, #218, #219, #220)
- Replace `EncodedSizeUser` with `ExpandedKeyEncoding` (#226)
- Bump `getrandom` to v0.4 (#245)
- Bump `rand_core` to v0.10 (#245)
- Migrate from `subtle` to `ctutils` (#277)
- Bump `sha3` dependency to v0.11 (#282)
- Bump `kem` dependency to v0.3 (#283)
- Bump `pkcs8` dependency to v0.11 (#291)

## Fixed
- Validate encryption/encapsulation keys (#179)
- Validate expanded decapsulation key hash (#207)

## Removed
- `Kem` struct and `KemCore` trait - replaced by `kem::Kem` (#223)
@tarcieri tarcieri mentioned this pull request Apr 28, 2026
tarcieri added a commit that referenced this pull request Apr 28, 2026
## Added
- Preliminary `no_std` support (#238)

## Changed
- Edition changed to 2024 and MSRV bumped to 1.85 (#118)
- Relax MSRV policy and allow MSRV bumps in patch releases
- Bump `hybrid-array` dependency to v0.4 (#129)
- Bump `serdect` dependency to v0.4 (#130)
- Bump `getrandom` dependency to v0.4 (#245)
- Bump `rand_core` dependency to v0.10 (#245)
- Bump `sha3` dependency to v0.11 (#282)
- Bump `aes` to v0.9 (#294)
- Bump `getrandom` to v0.4 (#294)
- Bump `chacha20` to v0.10 (#294)
- Bump `toml` to v1 (#294)
  
## Removed
- `safe-oqs` equivalence tests (#166)

## Fixed
- Return error instead of panicking on empty `serde` input (#259)
- OpenSSL EVP contexts memory leak (#260)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants