lerouxrgd commented on code in PR #3027:
URL: https://github.com/apache/avro/pull/3027#discussion_r1682811028
##########
lang/rust/avro/src/lib.rs:
##########
@@ -841,6 +841,7 @@
//!
mod bigdecimal;
+mod bytes;
Review Comment:
Indeed, that was my first guess. Then I realized that there is the ambiguous
serialization to either `Value::Bytes` or `Value::Fixed` that couldn't be
solved by just using `serde_bytes`. Therefore, I ended up using your approach
of having a thread local variable to guide the (de)serlializer. With this final
approach only `serde_avro_{bytes,fixed,slice}` need to be re-exported, as it is
the case in the PR.
--
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]