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 |
|
#254 in Windows APIs
1,258 downloads per month
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