apt-cmd 0.6.0

Async library for interacting with apt commands
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use apt_cmd::AptGet;

#[tokio::main]
async fn main() -> anyhow::Result<()> {
    for package in AptGet::new()
        .noninteractive()
        .fetch_uris(&["full-upgrade"])
        .await??
    {
        println!("{:?}", package);
    }

    Ok(())
}