libpacstall 0.8.1

Backend API library for Pacstall
Documentation
1
2
3
4
5
6
7
use libpacstall::pkg::keys::DistroClamp;

fn main() {
    let my_distro = DistroClamp::system().unwrap();
    let other = DistroClamp::new("ubuntu", "24.10").unwrap();
    assert!(my_distro == other)
}