mirror of
https://github.com/jkcoxson/idevice.git
synced 2026-03-02 06:26:15 +01:00
14 lines
297 B
Rust
14 lines
297 B
Rust
// Jackson Coxson
|
|
// Gets the devices from the muxer
|
|
|
|
use idevice::usbmuxd::UsbmuxdConnection;
|
|
|
|
#[tokio::main]
|
|
async fn main() {
|
|
env_logger::init();
|
|
|
|
let mut muxer = UsbmuxdConnection::default().await.unwrap();
|
|
let res = muxer.get_devices().await.unwrap();
|
|
println!("{res:#?}");
|
|
}
|