Skip to content

Commit 6599f1c

Browse files
committed
fix: audit sqlx_postgres::types::cube for overflowing casts
1 parent 13561cd commit 6599f1c

File tree

2 files changed

+219
-108
lines changed

2 files changed

+219
-108
lines changed

sqlx-postgres/src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
//! **PostgreSQL** database driver.
2+
// https://github.com/launchbadge/sqlx/issues/3440
23
#![deny(clippy::cast_possible_truncation)]
34
#![deny(clippy::cast_possible_wrap)]
5+
#![deny(clippy::cast_sign_loss)]
46

57
#[macro_use]
68
extern crate sqlx_core;

0 commit comments

Comments
 (0)