Skip to content

Releases: dtolnay/remain

0.2.4

03 Aug 01:18
0.2.4
3f67f5e
Compare
Choose a tag to compare
  • Add categories to crates.io metadata

0.2.3

30 Apr 21:42
0.2.3
cb6af88
Compare
Choose a tag to compare
  • Add rust-version entry to Cargo.toml to declare the oldest supported compiler version

0.2.2

27 Dec 20:51
0.2.2
4d56185
Compare
Choose a tag to compare
  • Documentation improvements

0.2.1

19 Jan 19:32
0.2.1
86791e6
Compare
Choose a tag to compare

(no changes, retrigger docs.rs build)

0.2.0

29 Nov 21:56
0.2.0
6d47c50
Compare
Choose a tag to compare
  • Implement smarter numeric comparison (#10, thanks @Juici)

    For example, the following is considered correctly sorted:

    #[sorted]
    pub enum Test {
        E9,
        E10,
    }

0.1.5

25 Nov 07:18
0.1.5
d74d835
Compare
Choose a tag to compare
  • Add an #[unsorted] attribute to allow individual items to be ignored (#4, thanks @Juici)

    #[remain::sorted]
    pub enum Bucket {
        ChannelsId(ChannelId),
        ChannelsIdInvites(ChannelId),
        ChannelsIdMessages(ChannelId),
        ChannelsIdMessagesBulkDelete(ChannelId),
        ChannelsIdMessagesId(ChannelId),
        ChannelsIdMessagesIdDelete(ChannelId),
        ChannelsIdMessagesIdReactions(ChannelId),
        ChannelsIdMessagesIdReactionsEmoji(ChannelId),
        ChannelsIdMessagesIdReactionsEmojiMe(ChannelId),
        ChannelsIdMessagesIdReactionsEmojiUserId(ChannelId),
        ChannelsIdPermissionsOverwriteId(ChannelId),
        ChannelsIdPins(ChannelId),
        ChannelsIdPinsMessageId(ChannelId),
        ChannelsIdRecipientsUserId(ChannelId),
        ChannelsIdTyping(ChannelId),
        ChannelsIdWebhooks(ChannelId),
        Guilds,
        GuildsId(GuildId),
        GuildsIdAuditLogs(GuildId),
        GuildsIdBans(GuildId),
        GuildsIdBansUserId(GuildId),
        GuildsIdChannels(GuildId),
        GuildsIdEmbed(GuildId),
        GuildsIdEmojis(GuildId),
        GuildsIdEmojisId(GuildId),
        GuildsIdIntegrations(GuildId),
        GuildsIdIntegrationsId(GuildId),
        GuildsIdIntegrationsIdSync(GuildId),
        GuildsIdInvites(GuildId),
        GuildsIdMembers(GuildId),
        GuildsIdMembersId(GuildId),
        GuildsIdMembersIdRolesId(GuildId),
        GuildsIdMembersMeNick(GuildId),
        GuildsIdPrune(GuildId),
        GuildsIdRegions(GuildId),
        GuildsIdRoles(GuildId),
        GuildsIdRolesId(GuildId),
        GuildsIdVanityUrl(GuildId),
        GuildsIdWebhooks(GuildId),
        InvitesCode,
        UsersId,
        UsersMe,
        UsersMeChannels,
        UsersMeConnections,
        UsersMeGuilds,
        UsersMeGuildsId(GuildId),
        VoiceRegions,
        WebhooksId(WebhookId),
    
        #[unsorted]
        None,
        #[doc(hidden)]
        __Nonexhaustive,
    }

0.1.4

18 Aug 05:38
0.1.4
89a1bd6
Compare
Choose a tag to compare
  • Update to Syn 1.0

0.1.3

11 May 19:27
0.1.3
7e714dc
Compare
Choose a tag to compare
  • Add support for checking order of named fields in a struct (#2, thanks @jeremyBanks)

0.1.2

11 May 19:26
0.1.2
8920f42
Compare
Choose a tag to compare
  • Use case-insensitive comparisons

0.1.1

11 Mar 19:34
0.1.1
8ad0315
Compare
Choose a tag to compare
Release 0.1.1