mirror of
https://github.com/EFForg/rayhunter.git
synced 2026-07-24 16:28:11 -07:00
Update adb_client, now with usb lib being a feature flag
This update also fixes libusb throwing timeouts when it shouldn't
This commit is contained in:
committed by
Cooper Quintin
parent
fbce9c8b04
commit
ec5bd81a70
@@ -22,9 +22,16 @@ tokio = { version = "1.44.2", features = ["full"] }
|
||||
tokio-retry2 = "0.5.7"
|
||||
tokio-stream = "0.1.17"
|
||||
|
||||
[dependencies.adb_client]
|
||||
[target.'cfg(target_os = "linux")'.dependencies.adb_client]
|
||||
# path = "../../adb_client/adb_client"
|
||||
git = "https://github.com/gaykitty/adb_client.git"
|
||||
branch = "rayhunter"
|
||||
default-features = false
|
||||
features = ["usb"]
|
||||
features = ["trans-nusb"]
|
||||
|
||||
[target.'cfg(any(target_os = "windows", target_os = "macos"))'.dependencies.adb_client]
|
||||
# path = "../../adb_client/adb_client"
|
||||
git = "https://github.com/gaykitty/adb_client.git"
|
||||
branch = "rayhunter"
|
||||
default-features = false
|
||||
features = ["trans-libusb"]
|
||||
|
||||
Reference in New Issue
Block a user