Minor improvements
-
Run the tests in release mode
Avoids rebuilding stuff in debug mode and tests the code in the state we're going to ship. -
Add missing dep
-
Enable cargo-level LTO
This reduces the installed size a bit. -
Enable cargo-level debuginfo
As of Rust 1.77.0, Cargo will strip the produced binary when debuginfo is not requested, so ourRUSTFLAGS
are useless.
Edited by Jan Alexander Steffens (heftig)