quinn icon indicating copy to clipboard operation
quinn copied to clipboard

Use windows-bindgen crate to limit downloads/version bumps

Open djc opened this issue 2 years ago • 2 comments

The windows project now exposes a crate that lets us build the bindings we need without the need to depend on all of them (with large downloads and regular version bumps). Would be nice to have.

djc avatar Apr 03 '23 14:04 djc

Hmm, wouldn't that compromise sharing with other crates? I guess we need very few definitions so maybe that's fine.

Ralith avatar Apr 03 '23 18:04 Ralith

Yeah, kind of the point is that most crates using the windows-sys stuff only need a tiny fraction of the bindings, so distributing everything to everyone is kind of pointless. Duplicating thin wrappers governed through a central code generator seems like a superior solution to me.

djc avatar Apr 04 '23 09:04 djc