diff --git a/sqlx-mysql/src/protocol/response/eof.rs b/sqlx-mysql/src/protocol/response/eof.rs index 5dc9f104..7bf4cecc 100644 --- a/sqlx-mysql/src/protocol/response/eof.rs +++ b/sqlx-mysql/src/protocol/response/eof.rs @@ -13,6 +13,7 @@ use crate::protocol::Capabilities; /// prior MySQL versions. #[derive(Debug)] pub struct EofPacket { + #[allow(dead_code)] pub warnings: u16, pub status: Status, } diff --git a/sqlx-postgres/src/message/row_description.rs b/sqlx-postgres/src/message/row_description.rs index 7146ee83..32121386 100644 --- a/sqlx-postgres/src/message/row_description.rs +++ b/sqlx-postgres/src/message/row_description.rs @@ -27,13 +27,16 @@ pub struct Field { /// The data type size (see pg_type.typlen). Note that negative values denote /// variable-width types. + #[allow(dead_code)] pub data_type_size: i16, /// The type modifier (see pg_attribute.atttypmod). The meaning of the /// modifier is type-specific. + #[allow(dead_code)] pub type_modifier: i32, /// The format code being used for the field. + #[allow(dead_code)] pub format: i16, }