3 unstable releases

0.2.1 Dec 7, 2024
0.2.0 Nov 28, 2024
0.1.0 Nov 24, 2024

#1302 in Hardware support

Download history 47/week @ 2024-11-18 225/week @ 2024-11-25 135/week @ 2024-12-02 368/week @ 2024-12-09 131/week @ 2024-12-16 35/week @ 2024-12-30 30/week @ 2025-01-06 73/week @ 2025-01-13 14/week @ 2025-01-20 10/week @ 2025-01-27 128/week @ 2025-02-03

225 downloads per month

MIT/Apache

25KB
488 lines

Fastboot protocol implementation

Currently only supports USB client side (via nusb)

Example client

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(())
}

Dependencies

~2–11MB
~131K SLoC