| Crates.io | fastboot-protocol |
| lib.rs | fastboot-protocol |
| version | 0.3.1 |
| created_at | 2024-11-24 20:11:22.241951+00 |
| updated_at | 2025-05-28 13:40:34.007925+00 |
| description | Fastboot protocol implementation |
| homepage | |
| repository | https://github.com/boardswarm/fastboot-rs |
| max_upload_size | |
| id | 1459549 |
| size | 56,370 |
Currently only supports USB client side (via nusb)
Printing fastboot using the nusb:
#[tokio::main]
async fn main() -> anyhow::Result<()> {
let mut devices = fastboot_protocol::nusb::devices()?;
let info = devices.next()
.ok_or_else(|| anyhow::anyhow!("No Device found"))?;
let mut fb = fastboot_protocol::nusb::NusbFastBoot::from_info(&info)?;
println!("Fastboot version: {}", fb.get_var("version").await?);
Ok(())
}