Skip to content

chore: Rust 1.100 and Cargo's unused-dependency lints - #296

Merged
sweepies merged 3 commits into
mainfrom
chore/rust-1.100
Nov 13, 2026
Merged

sweepies merged 3 commits into
mainfrom
chore/rust-1.100

Conversation

@sweepies

@sweepies sweepies commented Nov 13, 2026 •

Copy link
Copy Markdown
Owner

Pin Rust 1.100.0 in mise.toml, raise the workspace rust-version and
.deepsource.toml MSRV to 1.100, and deny Cargo's new lints
(unused_dependencies, unused_workspace_dependencies,
unused_workspace_package_fields, missing_lints_inheritance,
redundant_homepage, unknown_lints) in [workspace.lints.cargo]; every
member already inherits [lints] workspace = true.

Remove dev-dependencies Cargo's lint does not check: base64 from
patchula-cli (unused), and chrono and patchula-process from patchula-cli
and patchula-mise (each identical to the crate's normal dependency).
Cargo.lock regenerated by cargo.

release:package finds the aws-lc-sys archive through Cargo's JSON
messages instead of globbing target//release/deps, whose layout
is Cargo's own.

Checks (on the project VM)

  • clippy -D warnings on 1.100.0: clean, no code changes needed (no Box-allocator inference or never-type fallback fallout).
  • [workspace.lints.cargo] at deny (Cargo lints are not covered by clippy's -D warnings): zero findings; all 20 members inherit [lints] workspace = true. unused_dependencies doesn't check dev-dependencies, so those were checked by hand.
  • mise run test:unit green; tests/derived-versions.tsv and tests/state-versions.tsv untouched.
  • mise run release:package x86_64-unknown-linux-musl aarch64-unknown-linux-musl (CI's invocation): both archives built, and the aws-lc-sys jitter-entropy check found its archive through Cargo's JSON messages.
  • Rust 1.100.0 is pinned exactly; mise's 24 h release-age default doesn't apply to exact pins.

The Rust the Count runs Cargo on for user repositories (crates/tools/src/lockfiles/defaults.toml, guide/lockfiles.md) moves to 1.100.0 too: the real lockfile tool tests run Cargo on it and CI installs only the pinned toolchain. mise run test:tools (18) and test:unit pass on the VM.

View guided diff Turn on auto-fix

Pin Rust 1.100.0 in mise.toml, raise the workspace rust-version and
.deepsource.toml MSRV to 1.100, and deny Cargo's new lints
(unused_dependencies, unused_workspace_dependencies,
unused_workspace_package_fields, missing_lints_inheritance,
redundant_homepage, unknown_lints) in [workspace.lints.cargo]; every
member already inherits [lints] workspace = true.

Remove dev-dependencies Cargo's lint does not check: base64 from
patchula-cli (unused), and chrono and patchula-process from patchula-cli
and patchula-mise (each identical to the crate's normal dependency).
Cargo.lock regenerated by cargo.

release:package finds the aws-lc-sys archive through Cargo's JSON
messages instead of globbing target/<triple>/release/deps, whose layout
is Cargo's own.
The runner's default Rust follows the project's: the real lockfile tool
tests run Cargo on it, and CI installs only the pinned toolchain.
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Nov 13, 2026 •

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
count-patchula 1830dfb Commit Preview URL

Branch Preview URL
Nov 13 2026, 02:25 PM

@sweepies
sweepies merged commit a5da4ea into main Nov 13, 2026
12 checks passed
@sweepies
sweepies deleted the chore/rust-1.100 branch November 13, 2026 14:37
@sweepies-ops sweepies-ops Bot mentioned this pull request Nov 13, 2026
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