Provides compile-time checks that enum variants, struct fields, or match arms are written in sorted order.
# Cargo.toml
[dependencies]
remain = "0.2.15"No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Annotates an enum with #[sorted] to enforce alphabetical order of variants at compile time.
Place #[sorted] as the first attribute on the enum or struct.
No dependency data recorded yet.