1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
//! Async Rust client for the Android Debug Bridge (adb) server smartsocket
//! protocol. A port of [adbutils-python](https://github.com/openatx/adbutils).
//!
//! ```no_run
//! # async fn demo() -> adbutils::Result<()> {
//! let adb = adbutils::AdbClient::default();
//! for device in adb.device_list().await? {
//! println!("{}: {}", device.serial().unwrap_or("?"), device.shell("echo hi").await?);
//! }
//! # Ok(())
//! # }
//! ```
pub use AdbClient;
pub use AdbDevice;
pub use Sync;
pub use ;
pub use *;
/// Construct a client pointed at the default adb server (`127.0.0.1:5037`,
/// overridable via `ANDROID_ADB_SERVER_HOST` / `ANDROID_ADB_SERVER_PORT`).
/// Equivalent to the module-level `adb` singleton in the Python library.