4 releases (2 breaking)

new 0.3.0 May 3, 2025
0.2.1 Dec 7, 2024
0.2.0 Nov 28, 2024
0.1.0 Nov 24, 2024

#11 in #found

Download history 9/week @ 2025-01-08 75/week @ 2025-01-15 14/week @ 2025-01-22 250/week @ 2025-02-05 131/week @ 2025-02-12 106/week @ 2025-02-19 57/week @ 2025-02-26 10/week @ 2025-03-05 19/week @ 2025-03-12 73/week @ 2025-03-19 153/week @ 2025-03-26 191/week @ 2025-04-02 25/week @ 2025-04-09 38/week @ 2025-04-16 14/week @ 2025-04-23

280 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–15MB
~151K SLoC