| Crates.io | airinfo |
| lib.rs | airinfo |
| version | 0.1.0 |
| created_at | 2024-01-22 01:24:35.176058+00 |
| updated_at | 2024-01-22 01:24:35.176058+00 |
| description | Small library to read battery and status info from Airpods and Beats |
| homepage | |
| repository | https://github.com/lex148/airinfo |
| max_upload_size | |
| id | 1108149 |
| size | 34,179 |
use airinfo::find_pods;
#[tokio::main(flavor = "current_thread")]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
let pods = find_pods().await?;
for pod in pods {
println!("POD: {:#?}", pod);
}
Ok(())
}