4 releases
0.1.3 | Feb 1, 2020 |
---|---|
0.1.2 | Feb 1, 2020 |
0.1.1 | Jan 31, 2020 |
0.1.0 | Jan 31, 2020 |
#44 in #apt
7KB
133 lines
apt-cache
Rust crate to interface the apt-cache command.
lib.rs
:
apt-cache
A rust crate to interface the apt-cache command.
Warning: Will only work on machines with apt
installed!
Exmaple
use apt_cache::Package;
let git = Package::new("git").unwrap();
let libc = Package::new("libc6").unwrap();
assert!(git.depends().unwrap().contains(&libc))
Dependencies
~0.3–1MB
~22K SLoC