Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

switch to strum for fullevent and event #2788

Merged
merged 2 commits into from
Mar 10, 2024
Merged

Conversation

cheesycod
Copy link
Contributor

Add Strum for getting variant names and list of all variants for large enums such as FullEvent and Event. Also removes a hack (Event::name) where serde is used to get the variant name

@github-actions github-actions bot added model Related to the `model` module. client Related to the `client` module. labels Mar 10, 2024
Copy link
Member

@GnomedDev GnomedDev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a small nitpick

Cargo.toml Outdated Show resolved Hide resolved
commit 1b28505
Author: Sanandan Sashikumar <cheesycod@outlook.com>
Date:   Sun Mar 10 14:14:02 2024 +0000

    formatting

commit 0f46d73
Author: a <a@a.com>
Date:   Sun Mar 10 14:10:33 2024 +0000

    remove strum_macros dependency

commit d37b6ae
Author: a <a@a.com>
Date:   Sun Mar 10 14:02:29 2024 +0000

    oops

commit 06f3cab
Author: a <a@a.com>
Date:   Sun Mar 10 14:00:36 2024 +0000

    use intostaticstr

commit 5e52e02
Author: a <a@a.com>
Date:   Sun Mar 10 13:59:01 2024 +0000

    switch to strum for fullevent and event
@GnomedDev GnomedDev merged commit 91baacb into serenity-rs:next Mar 10, 2024
21 checks passed
GnomedDev pushed a commit to GnomedDev/serenity that referenced this pull request Mar 13, 2024
GnomedDev pushed a commit to GnomedDev/serenity that referenced this pull request Mar 19, 2024
GnomedDev pushed a commit to GnomedDev/serenity that referenced this pull request Mar 19, 2024
GnomedDev pushed a commit to GnomedDev/serenity that referenced this pull request Mar 31, 2024
GnomedDev pushed a commit to GnomedDev/serenity that referenced this pull request Apr 1, 2024
GnomedDev pushed a commit to GnomedDev/serenity that referenced this pull request May 14, 2024
GnomedDev pushed a commit to GnomedDev/serenity that referenced this pull request Jun 9, 2024
GnomedDev pushed a commit to GnomedDev/serenity that referenced this pull request Jun 22, 2024
mkrasnitski pushed a commit to mkrasnitski/serenity that referenced this pull request Jul 29, 2024
mkrasnitski pushed a commit to mkrasnitski/serenity that referenced this pull request Jul 30, 2024
GnomedDev pushed a commit to GnomedDev/serenity that referenced this pull request Oct 7, 2024
GnomedDev pushed a commit to GnomedDev/serenity that referenced this pull request Oct 20, 2024
GnomedDev pushed a commit to GnomedDev/serenity that referenced this pull request Nov 11, 2024
GnomedDev pushed a commit to GnomedDev/serenity that referenced this pull request Nov 15, 2024
mkrasnitski pushed a commit to mkrasnitski/serenity that referenced this pull request Dec 8, 2024
arqunis pushed a commit to arqunis/serenity that referenced this pull request Jan 16, 2025
mkrasnitski pushed a commit to mkrasnitski/serenity that referenced this pull request Feb 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
client Related to the `client` module. model Related to the `model` module.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants