fix: tests in sqlx-postgres

This commit is contained in:
Austin Bonander
2024-08-15 03:30:23 -07:00
parent b4e7a2fe7d
commit 9ec09fb789
9 changed files with 55 additions and 41 deletions

View File

@@ -17,6 +17,8 @@
#![allow(clippy::needless_doctest_main, clippy::type_complexity)]
// See `clippy.toml` at the workspace root
#![deny(clippy::disallowed_methods)]
#![deny(clippy::cast_possible_truncation)]
#![deny(clippy::cast_possible_wrap)]
// The only unsafe code in SQLx is that necessary to interact with native APIs like with SQLite,
// and that can live in its own separate driver crate.
#![forbid(unsafe_code)]