-
Notifications
You must be signed in to change notification settings - Fork 1
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
Suggestion: derive
Cargo feature
#5
Comments
This may be fixed if we do another merge from |
@Marwes Is there any way to detach them / reuse serde bits via public APIs instead? |
No, this is basically |
They do have |
Nowadays, in
serde
the recommended way to import derives is to useserde = { version = ..., features = ["derive"] }
in Cargo.toml. It takes care of reexporting the macros, to instead of writingto import both traits and derives you can just write
Would it be possible to make
serde_state
have the same feature so that derives would be automatically included under corresponding trait names?The text was updated successfully, but these errors were encountered: