4 releases

Uses old Rust 2015

0.2.0 Dec 17, 2020
0.1.0 Mar 21, 2019
0.1.0-alpha3 Mar 5, 2019
0.1.0-alpha2 Mar 3, 2019
0.1.0-alpha1 Mar 2, 2019

#254 in Windows APIs

Download history 685/week @ 2024-07-27 570/week @ 2024-08-03 276/week @ 2024-08-10 349/week @ 2024-08-17 511/week @ 2024-08-24 267/week @ 2024-08-31 548/week @ 2024-09-07 609/week @ 2024-09-14 336/week @ 2024-09-21 284/week @ 2024-09-28 436/week @ 2024-10-05 396/week @ 2024-10-12 320/week @ 2024-10-19 404/week @ 2024-10-26 322/week @ 2024-11-02 128/week @ 2024-11-09

1,258 downloads per month

MIT/Apache

8KB
117 lines

Windows GUID/CLSID/IID string and binary serialization

Guid transparently wraps GUID.

Implements Display and FromStr string conversion, also Hash and Eq.

Curly braces ({}) are optional for FromStr.

serde

Use the guid_serde feature to derive Serialize and Deserialize, you can then derive them for structs containing GUID like so:

#
#
use guid_win::GUIDSerde;
use serde_derive::{Deserialize, Serialize};
use winapi::shared::guiddef::GUID;

#[derive(Serialize, Deserialize)]
struct SerdeTest {
    #[serde(with = "GUIDSerde")]
    guid: GUID,
}

Dependencies

~32–420KB