cargo-bundle
cargo-bundle copied to clipboard
Overlap with cargo-deb
Hi! I'm involved in a similar project: https://github.com/mmstick/cargo-deb
Would you be interested in joining the effort? I could make cargo-deb usable as a library.
Looks interesting!
If cargo-deb were usable as a library, and supported the features that cargo-bundle needs (like generating .desktop files and app icons), then it would probably make sense for cargo-bundle to use that library.
At first glance, it looks to me like cargo-bundle has a slightly different focus than cargo-deb; right now, cargo-bundle is aimed mainly at GUI apps rather than command-line utilities, and at targeting for multiple platforms (e.g. Mac, Debian, eventually Windows, iOS) -- and therefore mostly only supporting the lowest common denominator of features. But there's an open issue (#33) for supporting additional OS-specific features, so I could imagine the scope of cargo-bundle eventually growing to the point where there's more overlap between the two tools.
Sounds like a good idea!
By the way, that would probably solve https://github.com/burtonageo/cargo-bundle/issues/25 for Debian, as the current implementation of deb package generation in cargo-bundle
does not seem to look for dependencies.
I've released cargo-deb 1.5.0 with our internal library functions exposed: https://docs.rs/cargo-deb/
Currently it's just exposing more or less what we call in our main()
, so the API may be weird/too low-level/not low-level enough/etc. Your feedback is welcome!
@kornelski @mdsteele Any updates on this? This sounds like a great idea to make it a joint effort.
Unfortunately, I haven't been able to provide any active development on this project lately. However, PRs are always welcome, and I do still try to keep up with reviewing those. If someone wants to take on integrating cargo-deb, go for it!