Reduce binary sizes: Add codegen-units=1 and lto=true during normal build
By enabling codegen-units=1 and lto=true, we should be able to get a reasonable size savings (~30%) for built binary objects. This ought to reduce the storage space and bandwidth costs for the archive, and the memory pressure for running systems.
See discussion at https://gitlab.com/sequoia-pgp/sequoia-chameleon-gnupg/-/issues/73
See https://doc.rust-lang.org/cargo/reference/profiles.html#codegen-units and https://doc.rust-lang.org/cargo/reference/profiles.html#lto for more details on these options.
Another approach could be to add the appropriate fields to the rustflags variable (maybe only when we know we're building cdylib or bin crates?). If someone prefers to do that, i'd be happy to review such an MR.
This addresses debcargo#67