diff --git a/server-api/db/src/lib.rs b/server-api/db/src/lib.rs index e0564ea..bbb2255 100644 --- a/server-api/db/src/lib.rs +++ b/server-api/db/src/lib.rs @@ -2,9 +2,6 @@ mod member; mod common; use std::vec::Vec; -use mysql_async::Conn; -use mysql_async::prelude::Queryable; // lets us use the special dsl provided -use mysql_async::params as sql_params; pub type BigInt = i64; pub type UBigInt = u64; diff --git a/server-api/db/src/member.rs b/server-api/db/src/member.rs index 7b12537..857008f 100644 --- a/server-api/db/src/member.rs +++ b/server-api/db/src/member.rs @@ -9,6 +9,7 @@ use crate::{UBigInt, BigInt, Integer, VarChar}; use crate::common::{FromDB, NO_CONN_MSG}; +#[allow(dead_code)] // only because some fields are read by the user pub struct Member { id: UBigInt, secret: VarChar,