fastboot-protocol

Crates.iofastboot-protocol
lib.rsfastboot-protocol
version0.3.1
created_at2024-11-24 20:11:22.241951+00
updated_at2025-05-28 13:40:34.007925+00
descriptionFastboot protocol implementation
homepage
repositoryhttps://github.com/boardswarm/fastboot-rs
max_upload_size
id1459549
size56,370
Sjoerd Simons (sjoerdsimons)

documentation

README

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(())
}
Commit count: 39

cargo fmt