Skip to content

Commit

Permalink
fix(config): 自动合并配置文件时丢失字段
Browse files Browse the repository at this point in the history
  • Loading branch information
itsusinn committed Feb 6, 2022
1 parent e752d5d commit b59574a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down Expand Up @@ -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" }
Expand Down
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit b59574a

Please sign in to comment.