#variant #winapi #free #windows #conversion #traits #aims

win-variant

This is a rust crate that aims to provide a more ergonomic way of working with variants in winapi based projects

6 releases

0.3.0 May 21, 2022
0.2.0 Jan 16, 2021
0.1.3 Jan 15, 2021
0.1.2 Dec 30, 2020

#1234 in Data structures

23 downloads per month
Used in win-idispatch

MIT license

67KB
2K SLoC

win-variant

win-variant is a crate to improve the ergonomics of working with VARIANTS from winapi.

The crate uses enums and conversion traits to allow for modern rust usage as well as provides utilities to easily free VARIANTS correctly.

Dependencies

~2.2–3MB
~57K SLoC