Update binary entrypoint crate imports after rename.
This commit is contained in:
parent
30f800eb4a
commit
b894fb83db
|
@ -227,35 +227,6 @@ dependencies = [
|
||||||
"zeroize",
|
"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]]
|
[[package]]
|
||||||
name = "cipher"
|
name = "cipher"
|
||||||
version = "0.2.5"
|
version = "0.2.5"
|
||||||
|
@ -2137,6 +2108,35 @@ dependencies = [
|
||||||
"utf-8",
|
"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]]
|
[[package]]
|
||||||
name = "termcolor"
|
name = "termcolor"
|
||||||
version = "1.1.2"
|
version = "1.1.2"
|
||||||
|
|
|
@ -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 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;
|
use url::Url;
|
||||||
|
|
||||||
#[tokio::main]
|
#[tokio::main]
|
||||||
|
|
|
@ -1,18 +1,18 @@
|
||||||
//Needed for nested Result handling from tokio. Probably can go away after 1.47.0.
|
//Needed for nested Result handling from tokio. Probably can go away after 1.47.0.
|
||||||
#![type_length_limit = "7605144"]
|
#![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 env_logger::Env;
|
||||||
use log::error;
|
use log::error;
|
||||||
use std::sync::{Arc, RwLock};
|
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]
|
#[tokio::main]
|
||||||
async fn main() {
|
async fn main() {
|
||||||
env_logger::Builder::from_env(
|
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();
|
.init();
|
||||||
match run().await {
|
match run().await {
|
||||||
|
|
Loading…
Reference in New Issue