Replies: 1 comment
-
The feature is implemented as the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
serde_bytes
provides a performance optimization for de-/serializing byte sequences. However, it does not have the same flexibility asserde_as
. This crate could provide aBytes
type and implement the optimized behavior for it.It should be compatible with all types supported by
serde_bytes
, like&[u8]
,Box<[u8]>
,Vec<u8>
,Cow<'_, [u8]>
.The support for
Option<T>
should then come fromserde_as
.Beta Was this translation helpful? Give feedback.
All reactions