From b894fb83dba82f7eba5016605a0ef161e5644267 Mon Sep 17 00:00:00 2001 From: projectmoon Date: Fri, 14 May 2021 22:25:09 +0000 Subject: [PATCH] Update binary entrypoint crate imports after rename. --- Cargo.lock | 58 +++++++++++++++++++++--------------------- src/bin/dicebot-cmd.rs | 10 ++++---- src/bin/dicebot.rs | 12 ++++----- 3 files changed, 40 insertions(+), 40 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 800f432..33bad60 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -227,35 +227,6 @@ dependencies = [ "zeroize", ] -[[package]] -name = "chronicle-dicebot" -version = "0.9.0" -dependencies = [ - "async-trait", - "bincode", - "byteorder", - "combine", - "dirs", - "env_logger", - "futures", - "html2text", - "indoc", - "itertools", - "log", - "matrix-sdk", - "memmem", - "nom", - "phf", - "rand 0.8.3", - "serde", - "sled", - "thiserror", - "tokio", - "toml", - "url", - "zerocopy", -] - [[package]] name = "cipher" version = "0.2.5" @@ -2137,6 +2108,35 @@ dependencies = [ "utf-8", ] +[[package]] +name = "tenebrous-dicebot" +version = "0.9.0" +dependencies = [ + "async-trait", + "bincode", + "byteorder", + "combine", + "dirs", + "env_logger", + "futures", + "html2text", + "indoc", + "itertools", + "log", + "matrix-sdk", + "memmem", + "nom", + "phf", + "rand 0.8.3", + "serde", + "sled", + "thiserror", + "tokio", + "toml", + "url", + "zerocopy", +] + [[package]] name = "termcolor" version = "1.1.2" diff --git a/src/bin/dicebot-cmd.rs b/src/bin/dicebot-cmd.rs index af531d5..79ce2b9 100644 --- a/src/bin/dicebot-cmd.rs +++ b/src/bin/dicebot-cmd.rs @@ -1,9 +1,9 @@ -use chronicle_dicebot::commands; -use chronicle_dicebot::commands::ResponseExtractor; -use chronicle_dicebot::context::{Context, RoomContext}; -use chronicle_dicebot::db::Database; -use chronicle_dicebot::error::BotError; use matrix_sdk::identifiers::room_id; +use tenebrous_dicebot::commands; +use tenebrous_dicebot::commands::ResponseExtractor; +use tenebrous_dicebot::context::{Context, RoomContext}; +use tenebrous_dicebot::db::Database; +use tenebrous_dicebot::error::BotError; use url::Url; #[tokio::main] diff --git a/src/bin/dicebot.rs b/src/bin/dicebot.rs index 88d968a..1f4ff5c 100644 --- a/src/bin/dicebot.rs +++ b/src/bin/dicebot.rs @@ -1,18 +1,18 @@ //Needed for nested Result handling from tokio. Probably can go away after 1.47.0. #![type_length_limit = "7605144"] -use chronicle_dicebot::bot::DiceBot; -use chronicle_dicebot::config::*; -use chronicle_dicebot::db::Database; -use chronicle_dicebot::error::BotError; -use chronicle_dicebot::state::DiceBotState; use env_logger::Env; use log::error; use std::sync::{Arc, RwLock}; +use tenebrous_dicebot::bot::DiceBot; +use tenebrous_dicebot::config::*; +use tenebrous_dicebot::db::Database; +use tenebrous_dicebot::error::BotError; +use tenebrous_dicebot::state::DiceBotState; #[tokio::main] async fn main() { env_logger::Builder::from_env( - Env::default().default_filter_or("chronicle_dicebot=info,dicebot=info"), + Env::default().default_filter_or("tenebrous_dicebot=info,dicebot=info"), ) .init(); match run().await {