chore(deps): Add deny.yaml and a cargo deny CI job to check dependencies
cargo deny checks for dependencies with vulnerabilities, vulnerability advisories, unmaintained crates, duplicate dependencies, and other issues.
- Add
deny.yaml - Add exceptions for warnings without a resolution available
- Add
licenselinelicense = "MIT OR Apache-2.0"tosqlx-testcrate to satisfy license checker. This license spec matches what is already in the workspaceCargo.tomlfile
Made the tempdir -> tempfile replacement its own PR: https://github.com/launchbadge/sqlx/pull/3006
Moved env_logger upgrade to its own PR: https://github.com/launchbadge/sqlx/pull/3009.
Moved criterion crate upgrade to https://github.com/launchbadge/sqlx/pull/3010.
Related: https://github.com/launchbadge/sqlx/issues/1297
I'm not super interested in this. Too many RUSTSEC advisories are filed for trivial things like crates being unmaintained (it's only an issue if there's also high-impact bugs and PRs aren't getting merged) and our CI breaks enough as it is. Weak features in Cargo also result in a lot of false-positives (https://github.com/launchbadge/sqlx/issues/3211).
For issues that really matter, people are pretty quick to call them out or open a PR anyway.