Previously this was documented to be configurable from the [[package.metadata.deb]] table but was in fact ignored and only the command line parameter was used.
This honors the value from Cargo.toml if no command line option is specified. The existing --separate-debug-symbols option can still be used to enable the inclusion of a separate debug symbol file. A new --no-separate-debug-symbols option can be used to suppress it, overriding a possible Cargo.toml value that would have led to its inclusion.
This should fix #129
I tested all combinations in a Debian bookworm container but there is no reason to believe that the behavior should differ on other Debian versions since this change is completely limited to the internal combination of the boolean values and does not touch the actual implementation of including a debug symbol file.
Previously this was documented to be configurable from the [[package.metadata.deb]] table but was in fact ignored and only the command line parameter was used.
This honors the value from Cargo.toml if no command line option is specified. The existing --separate-debug-symbols option can still be used to enable the inclusion of a separate debug symbol file. A new --no-separate-debug-symbols option can be used to suppress it, overriding a possible Cargo.toml value that would have led to its inclusion.
This should fix #129
I tested all combinations in a Debian bookworm container but there is no reason to believe that the behavior should differ on other Debian versions since this change is completely limited to the internal combination of the boolean values and does not touch the actual implementation of including a debug symbol file.