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

Update serde derives. #56

Merged
merged 1 commit into from
Mar 6, 2024
Merged

Conversation

waywardmonkeys
Copy link
Contributor

Since the crate is using Rust edition 2018, we can use the macros directly without a macro_use.

The recommended way to use serde_derive now is to use the derive feature on the serde crate.

@waywardmonkeys
Copy link
Contributor Author

This reduces the noise in another upcoming PR once this lands which removes most of the remaining extern crate usages in favor of more modern Rust.

Since the crate is using Rust edition 2018, we can use the macros
directly without a `macro_use`.

The recommended way to use `serde_derive` now is to use the `derive`
feature on the `serde` crate.
@waywardmonkeys
Copy link
Contributor Author

@brettfo Could you take a look at this one, please?

@brettfo brettfo closed this Mar 6, 2024
@brettfo brettfo reopened this Mar 6, 2024
@brettfo brettfo merged commit b9613ed into ixmilia:main Mar 6, 2024
16 checks passed
@waywardmonkeys waywardmonkeys deleted the modernize-serde branch March 7, 2024 06:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants