diff --git a/Cargo.lock b/Cargo.lock index cea29de..c81db0d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1319,7 +1319,6 @@ name = "reminder_rs" version = "1.4.0" dependencies = [ "Inflector", - "async-trait", "chrono", "chrono-tz", "dotenv", diff --git a/Cargo.toml b/Cargo.toml index 165b3f3..489a499 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,7 +10,6 @@ tokio = { version = "0.2", features = ["process"] } reqwest = { version = "0.10", features = ["rustls-tls"] } sqlx = { version = "0.4", default-features = false, features = ["runtime-tokio-rustls", "macros", "mysql", "bigdecimal", "chrono"] } regex = "1.4" -async-trait = "0.1" log = "0.4" env_logger = "0.8" chrono = "0.4" diff --git a/src/commands/todo_cmds.rs b/src/commands/todo_cmds.rs index 14a1784..6686cd8 100644 --- a/src/commands/todo_cmds.rs +++ b/src/commands/todo_cmds.rs @@ -1,6 +1,7 @@ use regex_command_attr::command; use serenity::{ + async_trait, client::Context, constants::MESSAGE_CODE_LIMIT, model::{ @@ -18,8 +19,6 @@ use crate::{ use sqlx::MySqlPool; use std::convert::TryFrom; -use async_trait::async_trait; - #[derive(Debug)] struct TodoNotFound; diff --git a/src/framework.rs b/src/framework.rs index 7cb6817..4d1e048 100644 --- a/src/framework.rs +++ b/src/framework.rs @@ -1,6 +1,5 @@ -use async_trait::async_trait; - use serenity::{ + async_trait, client::Context, constants::MESSAGE_CODE_LIMIT, framework::Framework,