WIP: Routine Unresponsive due to Deadlock #51
4 changed files with 1117 additions and 15 deletions
|
@ -1,4 +1,7 @@
|
|||
|
||||
[build]
|
||||
rustflags = ["--cfg", "tokio_unstable"]
|
||||
|
||||
[env]
|
||||
# Based on https://doc.rust-lang.org/cargo/reference/config.html
|
||||
OtherBots = "Supibot,buttsbot,PotatBotat,StreamElements,yuumeibot"
|
||||
|
|
1122
Cargo.lock
generated
1122
Cargo.lock
generated
File diff suppressed because it is too large
Load diff
|
@ -7,7 +7,7 @@ edition = "2021"
|
|||
|
||||
[dependencies]
|
||||
dotenv = "0.15.0"
|
||||
tokio = { version = "1.33.0", features = ["full"] }
|
||||
tokio = { version = "1.33.0", features = ["full", "tracing"] }
|
||||
twitch-irc = "5.0.1"
|
||||
rand = { version = "0.8.5", features = [] }
|
||||
futures = "0.3"
|
||||
|
@ -15,6 +15,8 @@ async-trait = "0.1.77"
|
|||
async-recursion = "1.1.0"
|
||||
casual_logger = "0.6.5"
|
||||
chrono = "0.4.35"
|
||||
tokio-console = "0.1.10"
|
||||
console-subscriber = "0.2.0"
|
||||
|
||||
|
||||
|
||||
[lib]
|
||||
|
|
|
@ -14,6 +14,9 @@ pub type BotAR = Arc<RwLock<BotInstance>>;
|
|||
|
||||
#[tokio::main]
|
||||
pub async fn main() {
|
||||
console_subscriber::init();
|
||||
|
||||
|
||||
Log::set_file_ext(Extension::Log);
|
||||
Log::set_level(Level::Trace);
|
||||
Log::set_retention_days(2);
|
||||
|
|
Loading…
Reference in a new issue
@notohh & @mzntori - these two crates I added
tokio-console
andconsole-subscriber
created very large changes inCargo.lock
. Do you see this as an issue?I'm going to shrug it off cuz LULE I don't know - but this is really helpful
If you're not sure or you may need time to look, I'll just shrug this off for now and say let's add
More information on these crates: