2 unstable releases
new 0.2.0 | Nov 28, 2024 |
---|---|
0.1.0 | Nov 24, 2024 |
#1281 in Hardware support
272 downloads per month
24KB
473 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–14MB
~134K SLoC