Skip to content

Make serde optional but enabled by default#22

Merged
ProfFan merged 2 commits intoProfFan:mainfrom
inomotech-foss:main
Feb 13, 2025
Merged

Make serde optional but enabled by default#22
ProfFan merged 2 commits intoProfFan:mainfrom
inomotech-foss:main

Conversation

@scootermon
Copy link
Contributor

This PR makes the serde dependency optional. The "serde" feature is enabled by default for compatibility (although that still doesn't make this change 100% backwards compatible since users might rely on serde with default-features=false).
Personally, I would remove "serde" from the default features as well.

It also looks like the num_enum dependency is completely unused so I removed it as well.

Copy link
Owner

@ProfFan ProfFan left a comment

Choose a reason for hiding this comment

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

Thank you!

@ProfFan ProfFan merged commit bc76847 into ProfFan:main Feb 13, 2025
3 checks passed
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