Skip to content
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

Change MAX_DEPTH of value::Value to 0 #38

Open
thequux opened this issue May 4, 2020 · 0 comments
Open

Change MAX_DEPTH of value::Value to 0 #38

thequux opened this issue May 4, 2020 · 0 comments

Comments

@thequux
Copy link
Contributor

thequux commented May 4, 2020

Per the documentation in encoding.rs, MAX_DEPTH of a variable-sized object should be set to 0 and then explicitly padded when creating the decoder.

This will fix #37 properly, but is a breaking change.

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

No branches or pull requests

1 participant