#base64 #serde #bytemuck #string #adaptor #array #vec

serde_repr_base64

A #[serde(with = "base64")] adaptor for base64 and bytemuck

1 unstable release

0.1.0 Jul 17, 2024

#2061 in Encoding

40 downloads per month

MIT/Apache

8KB
106 lines

serde_repr_base64

A #[serde(with = "base64")] adaptor for base64 and bytemuck.

What this supports

  • base64 and base64_if_readable

Arrays, Vec and your favorite small vec crates like SmallVec.

  • base64_string

String and your favorite small string crates like SmolStr.


lib.rs:

A #[serde(with = "base64")] adaptor for base64 and [bytemuck].

What this supports

  • [base64] and [base64_if_readable]

Arrays, [Vec] and your favorite small vec crates like SmallVec.

  • [base64_string]

[String] and your favorite small string crates like SmolStr.

Dependencies

~455–710KB
~13K SLoC