Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upConsider restricting implementations of SizeLimit #141
Milestone
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I don't think 1.0 should have a SizeLimit trait that allows external implementations until somebody proposes a really good use case for it. In serde_json we restrict implementations by using a private supertrait:
This allows adding / changing methods in the future as necessary without a major version bump.