feat: autodetect an ADB device when no vendor or product ID is specified (#44)
* feat: autodetect an ADB device when no vendor or product ID is specified ### Changes - Added methods `autodetect` to `autodetect_with_custom_private_key` to `ADBUSBDevice` - Added private functions to check if a usb device has the signature of an ADB device - Made the `vendor_id` and `product_id` USB arguments optional and default to aforementioned methods * fix: improve github actions workflows --------- Co-authored-by: LIAUD Corentin <corentinliaud26@gmail.com>
This commit is contained in:
committed by
GitHub
parent
266265ca35
commit
cff0e68f46
2
.github/workflows/rust-build.yml
vendored
2
.github/workflows/rust-build.yml
vendored
@@ -1,6 +1,6 @@
|
||||
name: Rust - Build
|
||||
|
||||
on: [push]
|
||||
on: [push, pull_request]
|
||||
|
||||
env:
|
||||
CARGO_TERM_COLOR: always
|
||||
|
||||
2
.github/workflows/rust-quality.yml
vendored
2
.github/workflows/rust-quality.yml
vendored
@@ -1,6 +1,6 @@
|
||||
name: Rust - Quality
|
||||
|
||||
on: [push]
|
||||
on: [push, pull_request]
|
||||
|
||||
env:
|
||||
CARGO_TERM_COLOR: always
|
||||
|
||||
Reference in New Issue
Block a user