Restrict #[allow(unused)] to mariadb::protocol

This commit is contained in:
Ryan Leckey 2019-09-11 11:25:23 -07:00
parent b185dcfb0e
commit b23b42e554
2 changed files with 4 additions and 12 deletions

View File

@ -1,6 +1,3 @@
// TODO: Remove after acitve development
#![allow(unused)]
mod backend;
mod connection;
mod establish;
@ -14,12 +11,3 @@ pub use self::{
backend::MariaDb, connection::MariaDbRawConnection, query::MariaDbQueryParameters,
row::MariaDbRow,
};
// pub use io::{BufExt, BufMutExt};
// pub use protocol::{
// Capabilities, ColumnDefPacket, ColumnPacket, Decode, Encode, FieldDetailFlag, FieldType,
// ProtocolType, ServerStatusFlag, SessionChangeType, StmtExecFlag,
// };
// 1) Get protocol compiling using io::Buf / io::BufMut
// 2) Switch MariaDbRawConnection to use io::BufStream

View File

@ -1,3 +1,7 @@
// Many protocol types are implemented but unused (currently). The hope is to eventually
// work them all into the (raw) connection type.
#![allow(unused)]
// Reference: https://mariadb.com/kb/en/library/connection
// Packets: https://mariadb.com/kb/en/library/0-packet