Crate serde_utils

Source

Re-exports§

pub use fixed_bytes_hex::bytes_4_hex;
pub use fixed_bytes_hex::bytes_8_hex;

Modules§

address_hex
b256_hex
fixed_bytes_hex
Formats [u8; n] as a 0x-prefixed hex string.
hex
Provides utilities for parsing 0x-prefixed hex strings.
hex_vec
Formats Vec<u8> as a 0x-prefixed hex string.
json_str
Serialize a datatype as a JSON-blob within a single string.
list_of_bytes_lists
Formats Vec<u64> using quotes.
quoted_i64
quoted_u8
quoted_u32
quoted_u64
quoted_u64_vec
Formats Vec<u64> using quotes.
quoted_u256
u8_hex
Formats u8 as a 0x-prefixed hex string.
u32_hex
Formats u32 as a 0x-prefixed, little-endian hex string.
u64_hex_be
Formats u64 as a 0x-prefixed, big-endian hex string.
u256_dec
u256_hex_be