1 unstable release

Uses old Rust 2015

0.1.0 Jan 9, 2018

#117 in #base64

Download history 38/week @ 2023-11-30 173/week @ 2023-12-07 614/week @ 2023-12-14 582/week @ 2023-12-21 887/week @ 2023-12-28 636/week @ 2024-01-04 877/week @ 2024-01-11 944/week @ 2024-01-18 811/week @ 2024-01-25 812/week @ 2024-02-01 522/week @ 2024-02-08 656/week @ 2024-02-15 1230/week @ 2024-02-22 1039/week @ 2024-02-29 751/week @ 2024-03-07 817/week @ 2024-03-14

3,895 downloads per month
Used in 9 crates (7 directly)

MIT/Apache

4KB

hex-serde

Integration between hex and serde

Documentation


lib.rs:

Integration between hex and serde

Examples

#[derive(Serialize, Deserialize)]
struct Sha256(#[serde(with = "hex_serde")] [u8; 32]);

#[derive(Serialize, Deserialize)]
struct MyStruct {
    #[serde(with = "hex_serde")] icecream: Vec<u8>,
    count: u64,
}

Dependencies

~135–370KB