diff --git a/Cargo.lock b/Cargo.lock index ca57be324..b54ab7cba 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3283,9 +3283,7 @@ source = "git+https://github.com/ruabmbua/hidapi-rs.git?branch=master#923a3712c5 dependencies = [ "cc", "libc", - "nix 0.26.2", "pkg-config", - "udev", "winapi 0.3.9", ] diff --git a/eruption-debug-tool/Cargo.toml b/eruption-debug-tool/Cargo.toml index 204b596f6..7248cbf53 100644 --- a/eruption-debug-tool/Cargo.toml +++ b/eruption-debug-tool/Cargo.toml @@ -55,7 +55,7 @@ thiserror = "1.0.40" eyre = "0.6.8" color-eyre = "0.6.2" hexdump = "0.1.1" -hidapi = { git = "https://github.com/ruabmbua/hidapi-rs.git", branch = "master", default-features = false, features = ["linux-native"] } +hidapi = { git = "https://github.com/ruabmbua/hidapi-rs.git", branch = "master", default-features = false, features = ["linux-static-libusb"] } bitvec = "1.0.1" byteorder = "1.4.3" serialport = "4.2.0" diff --git a/eruption-hwutil/Cargo.toml b/eruption-hwutil/Cargo.toml index 31396222f..1441bb9be 100644 --- a/eruption-hwutil/Cargo.toml +++ b/eruption-hwutil/Cargo.toml @@ -59,7 +59,7 @@ eyre = "0.6.8" color-eyre = "0.6.2" bitvec = "1.0.1" byteorder = "1.4.3" -hidapi = { git = "https://github.com/ruabmbua/hidapi-rs.git", branch = "master", default-features = false, features = ["linux-native"] } +hidapi = { git = "https://github.com/ruabmbua/hidapi-rs.git", branch = "master", default-features = false, features = ["linux-static-libusb"] } hexdump = "0.1.1" serialport = "4.2.0" crc8 = "0.1.1" diff --git a/eruption-macro/Cargo.toml b/eruption-macro/Cargo.toml index d249f2fc4..7d40607b9 100644 --- a/eruption-macro/Cargo.toml +++ b/eruption-macro/Cargo.toml @@ -55,7 +55,7 @@ eyre = "0.6.8" color-eyre = "0.6.2" hexdump = "0.1.1" chrono = { version = "0.4.24", features = ["serde"] } -hidapi = { git = "https://github.com/ruabmbua/hidapi-rs.git", branch = "master", default-features = false, features = ["linux-native"] } +hidapi = { git = "https://github.com/ruabmbua/hidapi-rs.git", branch = "master", default-features = false, features = ["linux-static-libusb"] } # lua-src = "544.0.1" # mlua = { version = "0.7.3", features = ["lua54", "vendored"] } # luajit-src = "210.3.2+resty1085a4d" diff --git a/eruption-util/Cargo.toml b/eruption-util/Cargo.toml index 911ae77d2..4327ae1de 100644 --- a/eruption-util/Cargo.toml +++ b/eruption-util/Cargo.toml @@ -52,7 +52,7 @@ thiserror = "1.0.40" eyre = "0.6.8" color-eyre = "0.6.2" hexdump = "0.1.1" -hidapi = { git = "https://github.com/ruabmbua/hidapi-rs.git", branch = "master", default-features = false, features = ["linux-native"] } +hidapi = { git = "https://github.com/ruabmbua/hidapi-rs.git", branch = "master", default-features = false, features = ["linux-static-libusb"] } udev = "0.7" evdev-rs = "0.6.1" lazy_static = "1.4.0" diff --git a/eruption/Cargo.toml b/eruption/Cargo.toml index 578f05c6c..d83852308 100644 --- a/eruption/Cargo.toml +++ b/eruption/Cargo.toml @@ -66,7 +66,7 @@ ctrlc = { version = "3.2.5", features = ["termination"] } clap = "4.2.4" hotwatch = "0.4.6" config = "0.13.3" -hidapi = { git = "https://github.com/ruabmbua/hidapi-rs.git", branch = "master", default-features = false, features = ["linux-native"] } +hidapi = { git = "https://github.com/ruabmbua/hidapi-rs.git", branch = "master", default-features = false, features = ["linux-static-libusb"] } udev = "0.7" evdev-rs = "0.6.1" hexdump = "0.1.1"