samscott89 / serde_qs

Serde support for querystring-style strings
Apache License 2.0
194 stars 68 forks source link

Allow map keys starting with a digit #113

Open lukasschlueter opened 1 month ago

lukasschlueter commented 1 month ago

This enables the use of uuids (and uuid-like values) as map keys. Previously, deserialization would fail if the uuid started with a digit (while uuids starting with letters worked fine).

I decided to still return the orginal ParseIntError. While this leads to worse error messages for the newly-allowed map keys, this way the change should affect sequences the least.