@@ -114,21 +114,17 @@ prost-build = "0.13.4"
114114rusty-xinput = " 1.3.0"
115115windows = { version = " 0.57.0" , features = [" Devices_Bluetooth" , " Foundation" ] }
116116serialport = { version = " 4.6.1" , optional = true }
117- # Linux hidraw is needed here in order to work with the lovense dongle. libusb breaks it on linux.
118- # Other platforms are not affected by the feature changes.
119- hidapi = { version = " 2.6.3" , default-features = false , features = [" linux-static-hidraw" , " illumos-static-libusb" ], optional = true }
117+ hidapi = { version = " 2.6.3" , default-features = false , features = [" windows-native" ], optional = true }
120118
121119[target .'cfg(target_os = "linux")' .dependencies ]
122120serialport = { version = " 4.6.1" , optional = true }
123121# Linux hidraw is needed here in order to work with the lovense dongle. libusb breaks it on linux.
124122# Other platforms are not affected by the feature changes.
125- hidapi = { version = " 2.6.3" , default-features = false , features = [" linux-static-hidraw" , " illumos-static-libusb " ], optional = true }
123+ hidapi = { version = " 2.6.3" , default-features = false , features = [" linux-static-hidraw" ], optional = true }
126124
127125[target .'cfg(target_os = "macos")' .dependencies ]
128126serialport = { version = " 4.6.1" , optional = true }
129- # Linux hidraw is needed here in order to work with the lovense dongle. libusb breaks it on linux.
130- # Other platforms are not affected by the feature changes.
131- hidapi = { version = " 2.6.3" , default-features = false , features = [" linux-static-hidraw" , " illumos-static-libusb" ], optional = true }
127+ hidapi = { version = " 2.6.3" , default-features = false , features = [" macos-shared-device" ], optional = true }
132128
133129[target .wasm32-unknown-unknown .dependencies ]
134130wasm-bindgen = { version = " 0.2.99" , features = [" serde-serialize" ] }
0 commit comments