laptou / bluez-rs

Control Bluetooth on Linux.
MIT License
39 stars 9 forks source link

lock minor version of enumflags2 and enumflags2_derive #12

Closed schampilomatis closed 4 years ago

schampilomatis commented 4 years ago

It is not possible at the moment to use

bluez = { git ="https://github.com/laptou/bluez-rs", rev = "e93cbf380690e97aeaef6f96eba88b210f5e44e2" }

in a Cargo.toml, because enumflags2 changed the definitions of some of their Traits in 0.6.4 release. This is a temporary fix that locks version to the one that is locked in Cargo.lock.

I am also locking enumflags2_derive, because the same issue happens with enumflags.

Not sure if this is the best way to do it, but this works.