Skip to content

Replace ryu with zmij for float formatting#772

Merged
Tony-Samuels merged 2 commits into
paupino:v1from
hugobast:v1
Jan 14, 2026
Merged

Replace ryu with zmij for float formatting#772
Tony-Samuels merged 2 commits into
paupino:v1from
hugobast:v1

Conversation

@hugobast

Copy link
Copy Markdown
Contributor

Summary

Related

This change moves from ryu to zmij for floating-point to string
conversion in serde arbitrary precision deserialization.

This follows the same direction as serde_json:
serde-rs/json#1304

Related to: paupino#761
@hugobast
hugobast changed the base branch from master to v1 January 14, 2026 14:39
@hugobast

Copy link
Copy Markdown
Contributor Author

I can open the same PR against main this time sorry I missed it last time.

@Tony-Samuels

Copy link
Copy Markdown
Collaborator

There's a 1.0 release as of 3 weeks ago. Do we have a specific reason to depend on the unstable version instead of the 1.0?

@hugobast

Copy link
Copy Markdown
Contributor Author

There's a 1.0 release as of 3 weeks ago. Do we have a specific reason to depend on the unstable version instead of the 1.0?

I picked the same version I saw used in serde-rs/json I'll look into using 1.0

@Tony-Samuels

Copy link
Copy Markdown
Collaborator

serde-rs/json@1aefe15
serde-json updated when 1.0 was released, although it was done via a direct commit to master as far as I can tell, and not a PR.

@hugobast

Copy link
Copy Markdown
Contributor Author

serde-json updated when 1.0 was released

Great! Thanks for flagging.

@Tony-Samuels
Tony-Samuels merged commit 29d96c4 into paupino:v1 Jan 14, 2026
15 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