Depend on serde_core instead of serde by KodrAus · Pull Request #467 · bitflags/bitflags · GitHub
Skip to content

Depend on serde_core instead of serde - #467

Merged
KodrAus merged 1 commit into
bitflags:mainfrom
KodrAus:feat/serde_core
Oct 19, 2025
Merged

KodrAus merged 1 commit into
bitflags:mainfrom
KodrAus:feat/serde_core

Conversation

@KodrAus

@KodrAus KodrAus commented Oct 19, 2025

Copy link
Copy Markdown
Member

This is another attempt at #462. To avoid bumping our MSRV, we need to depend on serde_core, but also keep the serde feature name. We can't then depend on serde itself as a dev-dependency because rustc 1.56.0 doesn't support features that share crate names. To make it work we need to make our serde example a little less straightforward.

@KodrAus
KodrAus merged commit 7fdc68c into bitflags:main Oct 19, 2025
10 checks passed
@KodrAus
KodrAus deleted the feat/serde_core branch October 19, 2025 09:54
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.

1 participant