This moves lint overrides to Cargo.toml so that they can more easily be shared across crates.
This happens because it is only used in the test configuration.