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" version = "1.4.0"
dependencies = [ dependencies = [
"Inflector", "Inflector",
"async-trait",
"chrono", "chrono",
"chrono-tz", "chrono-tz",
"dotenv", "dotenv",

View File

@ -10,7 +10,6 @@ tokio = { version = "0.2", features = ["process"] }
reqwest = { version = "0.10", features = ["rustls-tls"] } reqwest = { version = "0.10", features = ["rustls-tls"] }
sqlx = { version = "0.4", default-features = false, features = ["runtime-tokio-rustls", "macros", "mysql", "bigdecimal", "chrono"] } sqlx = { version = "0.4", default-features = false, features = ["runtime-tokio-rustls", "macros", "mysql", "bigdecimal", "chrono"] }
regex = "1.4" regex = "1.4"
async-trait = "0.1"
log = "0.4" log = "0.4"
env_logger = "0.8" env_logger = "0.8"
chrono = "0.4" chrono = "0.4"

View File

@ -1,6 +1,7 @@
use regex_command_attr::command; use regex_command_attr::command;
use serenity::{ use serenity::{
async_trait,
client::Context, client::Context,
constants::MESSAGE_CODE_LIMIT, constants::MESSAGE_CODE_LIMIT,
model::{ model::{
@ -18,8 +19,6 @@ use crate::{
use sqlx::MySqlPool; use sqlx::MySqlPool;
use std::convert::TryFrom; use std::convert::TryFrom;
use async_trait::async_trait;
#[derive(Debug)] #[derive(Debug)]
struct TodoNotFound; struct TodoNotFound;

View File

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