removed async_trait from deps to use reexport from serenity

This commit is contained in:
jellywx 2021-01-07 21:11:02 +00:00
parent 3598973fac
commit 769cb78141
4 changed files with 2 additions and 6 deletions

1
Cargo.lock generated
View File

@ -1319,7 +1319,6 @@ name = "reminder_rs"
version = "1.4.0"
dependencies = [
"Inflector",
"async-trait",
"chrono",
"chrono-tz",
"dotenv",

View File

@ -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"

View File

@ -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;

View File

@ -1,6 +1,5 @@
use async_trait::async_trait;
use serenity::{
async_trait,
client::Context,
constants::MESSAGE_CODE_LIMIT,
framework::Framework,