kornelski / cargo-deb

Make Debian packages directly from Rust/Cargo projects
https://lib.rs/cargo-deb
MIT License
431 stars 52 forks source link

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

Open jabl opened 9 months ago

jabl commented 9 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 9 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?