bfd6cba97da8ca4530602a9a6b5bc51b9013df57
Rust ADB (Android Debug Bridge) client library
This crate is not affiliated with Android development core team.
It is still under active development, please report found bugs as issues !
Rust crate
Simply add this to your Cargo.toml:
[dependencies]
adb_client = "*"
To launch a command on host device :
use adb_client::AdbTcpConnexion;
let connexion = AdbTcpConnexion::new();
connexion.shell_command(None, vec!["df", "-h"]);
To get available ADB devices :
use adb_client::AdbTcpConnexion;
let connexion = AdbTcpConnexion::new();
connexion.devices();
Rust binary
You can install the lightweight adb binary by running the following command :
cargo install adb_client --features adbclient
Languages
Rust
100%