deviceplug / btleplug

Rust Cross-Platform Host-Side Bluetooth LE Access Library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Windows v0.30 will break UWP portion of library

qdot opened this issue · comments

commented

More a heads up than anything. windows v0.29 crate will break a bunch of windows stuff. A lot of types no longer implement Debug, and the new generator doesn't seem to bring in Send on some types, which is a problem when they're wrapped in IAsyncOperation. I've filed a couple of bugs over in windows-rs but I doubt there will be any movement until the new year. No rush to update the windows crate either, just something to be aware of.

commented

Ok, updating this for v0.30, which came out a few days ago. Most of the original breakage is gone thanks to the reimplementation of Debug, we're now down to a single struct that should be an enum (BluetoothAddressType). I'll file on this and we'll see what happens, but if we get stuck we can always make our own version.

Maybe this issue can be closed because of the fix in microsoft/windows-rs#1437

commented

Yup it's fixed, just not landed yet. Gonna close this out on the next 0.9 iteration, which should hopefully be Very Soon.

commented

LAnded a while ago.