mirror of
https://github.com/EFForg/rayhunter.git
synced 2026-06-05 20:51:53 -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
Generated
+1
-1
@@ -5,7 +5,7 @@ version = 4
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "adb_client"
|
name = "adb_client"
|
||||||
version = "2.1.11"
|
version = "2.1.11"
|
||||||
source = "git+https://github.com/gaykitty/adb_client.git?branch=rayhunter#5bc41626cc7f57b6757ec981c14f3d37ff067f60"
|
source = "git+https://github.com/gaykitty/adb_client.git?branch=rayhunter#6a8054f0e04be9d669e06631e23882e6403d6e1e"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"async-io",
|
"async-io",
|
||||||
"base64",
|
"base64",
|
||||||
|
|||||||
@@ -22,9 +22,16 @@ tokio = { version = "1.44.2", features = ["full"] }
|
|||||||
tokio-retry2 = "0.5.7"
|
tokio-retry2 = "0.5.7"
|
||||||
tokio-stream = "0.1.17"
|
tokio-stream = "0.1.17"
|
||||||
|
|
||||||
[dependencies.adb_client]
|
[target.'cfg(target_os = "linux")'.dependencies.adb_client]
|
||||||
# path = "../../adb_client/adb_client"
|
# path = "../../adb_client/adb_client"
|
||||||
git = "https://github.com/gaykitty/adb_client.git"
|
git = "https://github.com/gaykitty/adb_client.git"
|
||||||
branch = "rayhunter"
|
branch = "rayhunter"
|
||||||
default-features = false
|
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