cargo-sort-derives
github.com · Package · Active
Cargo subcommand that sorts derive attributes in Rust code
- Developer tools
- Package
- Rust
- Day-7 check
- Day-30 check
- 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-derivesConfirmed 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
- Repository created on GitHub: lusingander/cargo-sort-derives
- Found: it was first published on crates.io. crates.io
- Release v0.6.0
- Release v0.11.0
- Release v0.12.0
- Release v0.13.0
- Release v0.14.0
- Release v0.14.1
- Release v0.15.0
- Day-7 check recorded by Kip (details)
- 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
| Source | Record | Last checked |
|---|---|---|
| crates.io | listing official API record | |
| GitHub repository | lusingander/cargo-sort-derives REST API record | |
| GitHub Releases | release 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
- cargo-ensure-no-default-featuresActive
Cargo subcommand that checks dependencies disable default features
Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.