rauc 0.2.0

Build reliable embedded Linux updates with Rust.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use rauc::InstallerProxy;
use zbus::{Connection, Result};

#[tokio::main]
async fn main() -> Result<()> {
    let connection = Connection::system().await?;
    let proxy = InstallerProxy::new(&connection).await?;

    let progress = proxy.progress().await?;
    println!("{progress:#?}");

    Ok(())
}