Skip to content

chore: rust-toolchain.toml (stable) + MSRV 1.88.0#76

Closed
SreeramGarlapati wants to merge 2 commits into
salesforce-misc:mainfrom
SreeramGarlapati:chore/pin-rust-toolchain
Closed

chore: rust-toolchain.toml (stable) + MSRV 1.88.0#76
SreeramGarlapati wants to merge 2 commits into
salesforce-misc:mainfrom
SreeramGarlapati:chore/pin-rust-toolchain

Conversation

@SreeramGarlapati
Copy link
Copy Markdown
Collaborator

Supersedes #68 — incorporates munendrasn's rust-toolchain.toml work
with review feedback applied.

Summary

  • Add rust-toolchain.toml with channel = "stable" and clippy/rustfmt components — single source of truth for local dev and CI
  • CI uses rustup show which reads the toolchain file
  • Add rust-version = "1.88.0" to Cargo.toml (MSRV floor set by time 0.3.47, darling 0.23.0, serde_with 3.18.0)
  • DEVELOPER.md references the toolchain file instead of a hardcoded minimum

Design

  • rust-toolchain.toml (stable) → governs local dev + CI components
  • rust-version in Cargo.toml (1.88.0) → protects downstream consumers

Test plan

  • cargo check passes
  • CI passes with rustup show reading rust-toolchain.toml

munendrasn and others added 2 commits April 25, 2026 08:33
Add rust-toolchain.toml at the workspace root to pin the exact Rust
version and required components (clippy, rustfmt). This gives local
dev and CI a single source of truth — rustup reads the file
automatically, so developers no longer need to manually select a
version.

CI switches from the dtolnay/rust-toolchain action to `rustup show`,
which installs the pinned toolchain and components on the fly from
the checked-in file.

DEVELOPER.md updated to reference the toolchain file instead of a
hardcoded minimum version.
- Change rust-toolchain.toml channel from pinned 1.95.0 to stable
- Add rust-version = "1.88.0" to Cargo.toml (floor set by time 0.3.47,
  darling 0.23.0, serde_with 3.18.0)
- rust-toolchain.toml governs local dev + CI components;
  rust-version in Cargo.toml protects downstream consumers
@SreeramGarlapati
Copy link
Copy Markdown
Collaborator Author

Closing — feedback posted on #68 for munendrasn to update directly.

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