1 unstable release

Uses old Rust 2015

0.1.0 Jan 9, 2018

#138 in #base64

Download history 628/week @ 2024-07-21 443/week @ 2024-07-28 458/week @ 2024-08-04 521/week @ 2024-08-11 561/week @ 2024-08-18 571/week @ 2024-08-25 404/week @ 2024-09-01 487/week @ 2024-09-08 500/week @ 2024-09-15 620/week @ 2024-09-22 581/week @ 2024-09-29 585/week @ 2024-10-06 402/week @ 2024-10-13 470/week @ 2024-10-20 515/week @ 2024-10-27 509/week @ 2024-11-03

1,923 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

~125–360KB