Crate stdcode

Source

Modules§

asstr
hex
hex32
hexvec
try_asstr

Structs§

HexBytesInner
A bytevector that serializes as a bytevector for binary formats (like stdcode), but as hex for string formats (like JSON).
SerializeAsString
A wrapper that serializes whatever’s wrapped inside with its Display and FromStr implementations.

Traits§

StdcodeSerializeExt
An extension trait for all stdcode-serializable stuff.

Functions§

deserialize
Safe deserialize that prevents DoS attacks.
serialize
Serialize the stuff

Type Aliases§

HexBytes
A type, similar to serde_with::Bytes, except using hex encoding for text formats.