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

Fixes Display Overflow issue when using precision greater than 30 #433

Merged
merged 5 commits into from
Oct 15, 2021

Conversation

paupino
Copy link
Owner

@paupino paupino commented Oct 15, 2021

This fixes #428 to allow for string formatting with precision of greater than 30. It maintains fast string allocation for strings <30 and reverts to appending the slower String when greater precision is required.

Expands upon PR #432 by @c410-f3r.

Contains a breaking change for scenarios that require deserialize to be a const function. If this is required then I could create a feature to force const at the expense of no constraint check - at least until const panic is stabilized.

@paupino paupino marked this pull request as draft October 15, 2021 18:19
@paupino paupino marked this pull request as ready for review October 15, 2021 21:15
@paupino paupino merged commit c74bd40 into master Oct 15, 2021
@paupino paupino deleted the bug/display-overflow branch October 15, 2021 21:26
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.

Overflow when serializing weird values
2 participants