kornelski / cargo-deb

A cargo subcommand that generates Debian packages from information in Cargo.toml
https://lib.rs/cargo-deb
MIT License
404 stars 48 forks source link

Option to generate separate -dbg package with debug symbols when --separate-debug-symbols is used #122

Open jabl opened 6 months ago

jabl commented 6 months ago

With --separate-debug-symbols the debug symbols are separated from the binaries, however they are all combined in the same .deb package. Would it be possible to add an option so that the debug symbols would be placed in a separate packagename-dbg-$VERSION.deb package?

kornelski commented 5 months ago

I think that would be a useful feature. It may need a bit of refactoring of cargo-deb, because it currently assumes it's writing only one deb file, and that deb file has all the usual metadata.

Would you like to lead a project to add this feature?