Latest / Developer tools

cargo-sort-derives

github.com · Package · Active

Cargo subcommand that sorts derive attributes in Rust code

Visit github.com ↗Share

Stars
68
Forks
5
Open issues
3
Last commit
Releases
12
Found
2 years ago

GitHub figures as of . They are context, not a ranking.

cargo-sort-derives is a Cargo subcommand that puts the derive attributes on Rust structs and enums into a consistent order. It supports a custom order, a check mode that changes nothing, and reading source from stdin, so it suits Rust teams that want one derive ordering across a codebase.

Repository description on GitHub: “Cargo subcommand to sort derive attributes 📦”

What it does

  • Sorts derive attributes in Rust source files
  • Custom derive order set with the --order option
  • Check mode with --check and stdin input with --stdin

Good for

  • Keep derive lists consistent across a Rust codebase
  • Enforce derive ordering in CI with check mode

Suits: Rust developers who want consistent derive attribute ordering.

What you can try

Install it with cargo install --locked cargo-sort-derives, as its README shows.

Install

cargo install cargo-sort-derives

Confirmed against the package registry. Read the project’s own instructions before running anything.

Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.

Found vs. released

Kip first saw cargo-sort-derives on , when it was first published on crates.io. The oldest published release on GitHub is v0.6.0, dated . Its first tagged release came 36 days after it was found. 12 releases have been published in total; the latest is v0.15.0 ().

Day-7 and day-30 updates

Day 7 no new release

  • No tagged release was published in the first 7 days after it was found (GitHub release dates).

Checked , later than day 7 because tracking began after.

Day 30 no new release

  • No tagged release was published in the first 30 days after it was found (GitHub release dates).

Checked , later than day 30 because tracking began after.

Release timeline every entry links to its source

Releases per month, last 24 months (8 in total, busiest month 2).
  1. Repository created on GitHub: lusingander/cargo-sort-derives
  2. Found: it was first published on crates.io. crates.io
  3. Release v0.6.0
  4. Release v0.11.0
  5. Release v0.12.0
  6. Release v0.13.0
  7. Release v0.14.0
  8. Release v0.14.1
  9. Release v0.15.0
  10. Day-7 check recorded by Kip (details)
  11. Day-30 check recorded by Kip (details)

Showing the first and the 6 latest of 12 releases. All releases on GitHub

Quick answers

When was cargo-sort-derives released?
Its first tagged release on GitHub is dated 21 Sep 2024. Kip found it on crates.io on 17 Aug 2024.
Is cargo-sort-derives open source?
Its source is public on GitHub at lusingander/cargo-sort-derives under the MIT licence.
What does cargo-sort-derives run on?
Command line.
Is cargo-sort-derives free?
It is open source, so the code is free to read and run; check the licence for terms.
Is cargo-sort-derives still maintained?
Yes. It had a commit or release in the last 90 days as of the latest check.

Provenance

SourceRecordLast checked
crates.iolisting
official API record
GitHub repositorylusingander/cargo-sort-derives
REST API record
GitHub Releasesrelease list
REST API record

Stable ID crates-cargo-sort-derives. Summary drafted with AI from the source records above and checked against KipFound’s rules before publishing. Dates and release facts come only from those records.

Share

Similar tools

More in Developer tools

Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.