Skip to content

Conversation

@rosscarter154
Copy link

The rationale for this change is that there are cases where people would like to use the general validation infrastructure, as well as the validation derive macros for simple data types, but do not want to pull in these extra dependencies to their dependency graph. The remaining validators that are not affected by this PR affect built-in types and as such are always enabled.

By enabling the new feature flags by default, this is not a breaking change, unless the downstream user explicitly set default-features = false.

@Keats
Copy link
Owner

Keats commented Apr 15, 2025

By enabling the new feature flags by default, this is not a breaking change, unless the downstream user explicitly set default-features = false.

I would consider that a breaking change, which is fine for a new version

@rosscarter154
Copy link
Author

By enabling the new feature flags by default, this is not a breaking change, unless the downstream user explicitly set default-features = false.

I would consider that a breaking change, which is fine for a new version

Bumped the version accordingly and added documentation for the feature flags.

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