From b59574a7297e6fccecbebb4d9bb9ea29fae4dfb9 Mon Sep 17 00:00:00 2001 From: itsusinn Date: Mon, 7 Feb 2022 02:47:10 +0800 Subject: [PATCH] =?UTF-8?q?fix(config):=20=E8=87=AA=E5=8A=A8=E5=90=88?= =?UTF-8?q?=E5=B9=B6=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6=E6=97=B6=E4=B8=A2?= =?UTF-8?q?=E5=A4=B1=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Cargo.toml | 6 +++--- src/main.rs | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index abfb4d4..1aae226 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,7 +7,7 @@ edition = "2021" [dependencies] # bot -teloxide = { version = "0.6.1", default-features = false,features = ["frunk", "macros", "auto-send","ctrlc_handler","rustls","dispatching2","nightly"] } +teloxide = { version = "0.6.1", default-features = false,features = ["macros", "auto-send","ctrlc_handler","rustls","dispatching2","nightly"] } teloxide-core = { version = "0.4.0", default-features = false, features = ["rustls","cache_me"] } teloxide-macros = "0.5.0" @@ -59,8 +59,8 @@ sled = "0.34.7" nats = "0.17.0" mesagisto-client = { rev = "49e7c5", git = "https://github.com/MeowCat-Studio/mesagisto-client-rs.git"} # mesagisto-client = { path = "../../mesagisto-client/rust" } -automatic-config = { rev = "688afad", git = "https://github.com/Itsusinn/automatic-config-rs.git" } -# automatic-config = { path = "/code/automatic-config-rs" } +automatic-config = { rev = "ac1cd3ac1a225e8b7f1c80d55fe7e5ee34fad81d", git = "https://github.com/Itsusinn/automatic-config-rs.git" } +#automatic-config = { path = "/code/automatic-config-rs" } singleton = { git = "https://github.com/Itsusinn/singleton-rs.git", rev = "bee321c" } # singleton = { path = "/code/singleton-rs" } diff --git a/src/main.rs b/src/main.rs index 5b8d1c4..e69bb04 100644 --- a/src/main.rs +++ b/src/main.rs @@ -5,8 +5,8 @@ use futures::FutureExt; use mesagisto_client::MesagistoConfig; use teloxide::{prelude2::*, Bot}; -use bot::TG_BOT; use crate::config::CONFIG; +use bot::TG_BOT; #[macro_use] extern crate educe;