Kriskras99 opened a new pull request, #656:
URL: https://github.com/apache/avro-rs/pull/656

   This changes the schema parser from iterating over the JSON into consuming 
it. This allows reusing the existing String allocations (and also collection 
allocations if the sizes match and the compiler can make it work).
   Because we remove everything from the JSON while consuming it, custom 
attributes is just everything leftover. Therefore this also fixes 
https://github.com/apache/avro-rs/issues/654
   
   I've tried my best to improve the error messages where possible.
   
   This is a breaking change because the input for `Schema::parse` changes      
   
   from a reference to an owned `Value`. Users can fix their usage by        
   calling `.clone()` where needed.
   
   @JosephLenton I've added your schema to one of the tests, can you verify 
everything works in your application?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to