Closed newpavlov closed 12 months ago
We have a library interface: https://docs.rs/cargo-deb/latest/cargo_deb/
Although it's a bit disorganized, since it's tied closely to the binary.
Good to know! I think it's a bit unexpected, so introducing a separate library crate could be worthwhile.
In some cases it could be useful to generate deb packages from custom software, e.g. as part of a non-Cargo build system. So it would be nice to have a separate library crate, similar to the
rpm
crate.cargo-deb
then could be a simple CLI wrapper around it.@vv9k Would you be willing to transfer ownership of the
deb
crate for this purpose?