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
//! # droidrun-adb
//!
//! Async ADB (Android Debug Bridge) client library.
//!
//! Implements the ADB wire protocol directly over TCP using tokio,
//! providing native async support for all operations.
//!
//! ## Usage
//!
//! ```no_run
//! use droidrun_adb::{AdbServer, AdbDevice};
//!
//! #[tokio::main]
//! async fn main() -> Result<(), Box<dyn std::error::Error>> {
//! // Connect to first available device
//! let server = AdbServer::default();
//! let device = server.device().await?;
//!
//! // Run shell command
//! let output = device.shell("getprop ro.build.version.sdk").await?;
//! println!("SDK version: {}", output.trim());
//!
//! // Take screenshot
//! let png = device.screencap().await?;
//! std::fs::write("screen.png", &png)?;
//!
//! Ok(())
//! }
//! ```
pub use AdbDevice;
pub use ;
pub use ;
pub use AdbServer;