This crate provides bindings to libapt-pkg
.
See the examples/
folder for some partial implementations of some commands.
https://docs.rs/apt-pkg-native
While the code in this crate is available under a permissive MIT license,
it is useless without libapt-pkg
,
which is GPL2+.
libapt-pkg-dev
must be installed. The gcc
crate is used to try and find a native compiler.