🌟 Summary
v0.0.5 is a tooling-focused release 🎛️ that standardizes the Rust toolchain on nightly, tightens formatting/linting in CI, and refreshes crate metadata—making development smoother and more consistent for contributors.
📊 Key Changes
-
🛠️ Rust toolchain upgraded to nightly everywhere
- CI formatting workflow now uses
dtolnay/rust-toolchain@nightlyinstead of@stable. - CI publish workflow also switched to
@nightlyand explicitly installs:rustfmtfor formatting checksclippyfor linting
- CI formatting workflow now uses
-
📦 Crate version bump
Cargo.tomlversion updated from0.0.4➜0.0.5.
-
📚 Improved crate metadata
- Added a
documentationlink inCargo.tomlpointing to Ultralytics Docs.
- Added a
-
🧩 Project-wide toolchain configuration
- New
rust-toolchain.tomlfile added to define a consistent nightly toolchain, components, and targets for all developers:- Channel: nightly
- Components:
rustfmt,clippy,rust-src,rust-analyzer - Targets: major Linux, macOS (Intel & Apple Silicon), and Windows architectures.
- New
-
✨ Enhanced formatting config
rustfmt.tomlnow enablesunstable_features = trueto support nightly-only formatting options.
🎯 Purpose & Impact
-
✅ Consistent formatting & linting across environments
Ensurescargo fmtandcargo clippybehave the same for everyone—locally and in CI—reducing “works on my machine” issues and noisy diffs. -
🚀 Enables advanced nightly-only formatting features
By opting into nightly and unstable rustfmt features, the project can use more powerful, stricter, or more expressive formatting rules. -
🧱 Stronger, more predictable CI
CI now explicitly installs and runsrustfmtandclippy, catching style and correctness issues earlier, before they hit main branches. -
🌐 Better discoverability & documentation linkage
Adding the docs URL toCargo.tomlmakes it easier for users to jump from the crate to Ultralytics documentation via crates.io or IDE integrations. -
📌 Patch release reflecting tooling upgrades
Version0.0.5cleanly marks this as a tooling/infra-focused update—no breaking API changes, but a more polished developer experience.
What's Changed
- ci: 👷 Update Rust toolchain to nightly in format workflow by @onuralpszr in #12
Full Changelog: v0.0.4...v0.0.5