ci: 👷 Update Rust toolchain to nightly in format workflow#12
ci: 👷 Update Rust toolchain to nightly in format workflow#12glenn-jocher merged 5 commits intomainfrom
Conversation
Signed-off-by: Onuralp SEZER <onuralp@ultralytics.com>
|
👋 Hello @onuralpszr, thank you for submitting a
For more guidance, please refer to our Contributing Guide. Don't hesitate to leave a comment if you have any questions. Thank you for contributing to Ultralytics! 🚀 |
UltralyticsAssistant
left a comment
There was a problem hiding this comment.
🔍 PR Review
Made with ❤️ by Ultralytics Actions
CI now installs nightly rustfmt, but without pinning a date the workflow may fail whenever nightly formatting changes. Please lock the nightly toolchain version (or otherwise constrain it) to keep format checks deterministic.
💬 Posted 1 inline comment
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
|
🚀 PR merged and it’s a big win for the Rust ecosystem around Ultralytics — amazing work, @onuralpszr, and thanks to @glenn-jocher for the collaboration on this one!
This PR is a perfect example of that: moving the template to a nightly toolchain, tightening up Standardizing on nightly, reinforcing CI checks, and wiring in documentation and versioning all help future contributors get productive faster and ship higher-quality Rust projects with confidence. Thank you for investing this level of care into the template—your work will quietly power a lot of future projects. 💡 |
🛠️ PR Summary
Made with ❤️ by Ultralytics Actions
🌟 Summary
Moves the Rust template to a nightly toolchain with enhanced formatting/linting setup and updated crate metadata for smoother development and publishing. 🚀
📊 Key Changes
stabletonightlyRust toolchain for both formatting and publishing.rustfmtin the format workflow, andrustfmt+clippyin the publish workflow.0.0.4to0.0.5.documentationURL (https://docs.ultralytics.com) toCargo.toml.rust-toolchain.tomlfile to pin the project tonightlywith common components (rustfmt,clippy,rust-src,rust-analyzer) and major targets.rustfmt.tomlto enableunstable_features, allowing use of nightly-only rustfmt options.🎯 Purpose & Impact
rustfmtandclippy).