cargo-bundle icon indicating copy to clipboard operation
cargo-bundle copied to clipboard

Overlap with cargo-deb

Open kornelski opened this issue 6 years ago • 5 comments

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.

kornelski avatar Dec 21 '17 15:12 kornelski

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.

mdsteele avatar Dec 30 '17 01:12 mdsteele

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.

daniel-abramov avatar Feb 14 '18 10:02 daniel-abramov

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 avatar Feb 15 '18 22:02 kornelski

@kornelski @mdsteele Any updates on this? This sounds like a great idea to make it a joint effort.

vidhatha avatar Jul 14 '22 05:07 vidhatha

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!

mdsteele avatar Aug 03 '22 11:08 mdsteele