f799c8074a540d4f75bb00522e1a4886df415953
In some setups the exact number of spaces didn't match, made it more generic using the 'whitespace class' (\s)
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 :
let connexion = AdbTcpConnexion::new();
connexion.shell_command("df -h");
To get available ADB devices :
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%