Skip to content

Unpin time dependency and bump MSRV to 1.84 - #10

Merged
Diggsey merged 4 commits into
masterfrom
unpin-time-dependency
Jul 6, 2026
Merged

Diggsey merged 4 commits into
masterfrom
unpin-time-dependency

Conversation

@Diggsey

@Diggsey Diggsey commented Jul 6, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Unpins the time dependency (from =0.3.41 to 0.3.41).
  • Bumps the crate's MSRV from 1.78 to 1.84.
  • Bumps the crate patch version to 1.3.1.

Why unpin time?

time 0.3.42+ requires rustc 1.81.0, which is why it was previously pinned to an exact version. Cargo's v3 resolver already takes the root crate's rust-version (MSRV) into account when resolving dependencies, so a too-new time won't be selected for users on an older toolchain — the exact pin is unnecessary.

Why bump MSRV to 1.84?

MSRV-aware dependency resolution is only fully usable once users can opt into it via resolver.incompatible-rust-versions = "fallback", and that config key requires Rust 1.84. With an MSRV below 1.84, users can't enable the fallback behavior that makes unpinning time safe for them. Raising our MSRV to 1.84 ensures the resolver mechanism this PR relies on is actually available to consumers of the crate.

Note: this raises the effective MSRV for all users of the crate.

Diggsey added 3 commits July 6, 2026 14:32
Rely on Cargo's v3 resolver to respect the root crate's MSRV when
resolving the time dependency instead of pinning it exactly.
MSRV-aware dependency resolution (resolver.incompatible-rust-versions =
"fallback") requires Rust 1.84, so users can't opt into it while our MSRV
is lower.
@Diggsey Diggsey changed the title Unpin time dependency Unpin time dependency and bump MSRV to 1.84 Jul 6, 2026
Without this, `cargo test` on the MSRV job resolves dependencies to their
newest versions (e.g. time 0.3.53, which requires Rust 1.88), causing the
build to fail. Setting CARGO_RESOLVER_INCOMPATIBLE_RUST_VERSIONS=fallback
makes Cargo prefer versions compatible with our declared rust-version.
@Diggsey
Diggsey merged commit 7ac7862 into master Jul 6, 2026
12 checks passed
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.

1 participant