Clean up warnings
This commit is contained in:
parent
8f82dd078d
commit
51f40cb0fb
@ -1,7 +1,7 @@
|
||||
use crate::components::Nav;
|
||||
use common::{LoggedInResponse, LoginRequest, LoginResponse};
|
||||
use gloo::{
|
||||
console::{error, log},
|
||||
console::error,
|
||||
history::{BrowserHistory, History},
|
||||
net::http::Request,
|
||||
};
|
||||
|
@ -11,7 +11,6 @@ use clap::{Parser, Subcommand};
|
||||
use diesel::prelude::*;
|
||||
use models::NewUser;
|
||||
use schema::users;
|
||||
use std::io::{self, Write};
|
||||
use std::net::{IpAddr, Ipv6Addr, SocketAddr};
|
||||
use std::path::PathBuf;
|
||||
use std::str::FromStr;
|
||||
|
@ -45,6 +45,7 @@ pub struct NewMessage<'a> {
|
||||
#[derive(Queryable, Selectable, Debug, Clone)]
|
||||
#[diesel(table_name = messages)]
|
||||
#[diesel(check_for_backend(diesel::sqlite::Sqlite))]
|
||||
#[allow(unused)]
|
||||
pub struct Message {
|
||||
pub id: i32,
|
||||
pub message: String,
|
||||
|
@ -25,7 +25,6 @@ use tokio::sync::Mutex;
|
||||
use tower::{ServiceBuilder, ServiceExt};
|
||||
use tower_http::services::ServeDir;
|
||||
use tower_http::trace::TraceLayer;
|
||||
use tower_sessions::cookie::Key;
|
||||
use tower_sessions::{Expiry, MemoryStore, SessionManagerLayer};
|
||||
use tracing::{debug, warn};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user