Skip to content

Cargo.lock: pin dependencies - #1699

Merged
dhardy merged 1 commit into
rust-random:masterfrom
baloo:push-ynpknlynppov
Dec 27, 2025
Merged

dhardy merged 1 commit into
rust-random:masterfrom
baloo:push-ynpknlynppov

Conversation

@baloo

@baloo baloo commented Dec 24, 2025

Copy link
Copy Markdown
Contributor

As discussed in #1698.

This also loosen the dependency to chacha20.

Not binding to a strict version of chacha20 (only a minimum) would make for a much smoother release process. Especially to get over the API breaks humps coming in rand_core 0.10.0-rc.3

Summary

Motivation

Details

As discussed in rust-random#1698.

This also loosen the dependency to `chacha20`.

Not binding to a strict version of chacha20 (only a minimum) would 
make for a much smoother release process. Especially to get over the API
breaks humps coming in rand_core 0.10.0-rc.3
@baloo
baloo force-pushed the push-ynpknlynppov branch from dfc857e to 20199ed Compare December 24, 2025 21:58
@dhardy

dhardy commented Dec 27, 2025

Copy link
Copy Markdown
Member

One thing this misses is automated updates of any sort. The getrandom dependabot config is probably sufficient.

@dhardy
dhardy merged commit 8cb6ab0 into rust-random:master Dec 27, 2025
15 checks passed
@baloo
baloo deleted the push-ynpknlynppov branch December 28, 2025 01:03
vks added a commit that referenced this pull request Aug 2, 2026
# Motivation

As a library, rand should be compatible with all dependencies
automatically found by the resolver, not only pinned versions.

# Details

CI will now test against three version sets:

- The MSRV test (Ubuntu, Rust 1.85.0) will find dependencies using the
MSRV-aware resolver. This will include updates to dependencies where
they do not require a more recent version of Rust.
- The minimal-versions test (Ubuntu, nightly Rust) will test the minimum
version set matching the dependency specification
- Other tests (multiple platforms, stable/beta/nightly Rust) will use
the latest versions matching the dependency specification (without
MSRV-aware resolution).

We will no longer get explicit tests on new versions via dependabot but
we will still get weekly CI re-runs using the latest versions.

Note: this reverts #1699 aside from the part already reverted by #1745.
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.

2 participants