From a62727070a6eca65f1281016458ab71dca04a1eb Mon Sep 17 00:00:00 2001 From: jeff Date: Sun, 23 Aug 2020 21:19:38 +0000 Subject: [PATCH] Update Cargo files for fork. --- Cargo.lock | 34 +++++++++++++++++----------------- Cargo.toml | 10 ++++------ src/bin/dicebot-cmd.rs | 2 +- src/bin/dicebot.rs | 2 +- 4 files changed, 23 insertions(+), 25 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index b6cc4f7..c941393 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -18,21 +18,6 @@ version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cdb031dd78e28731d87d56cc8ffef4a8f36ca26c38fe2de700543e627f8a464a" -[[package]] -name = "axfive-matrix-dicebot" -version = "0.1.2" -dependencies = [ - "itertools", - "nom", - "rand", - "reqwest", - "serde", - "serde_json", - "thiserror", - "tokio", - "toml", -] - [[package]] name = "base64" version = "0.12.3" @@ -69,6 +54,21 @@ version = "0.1.10" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822" +[[package]] +name = "chronicle-dicebot" +version = "0.2.0" +dependencies = [ + "itertools", + "nom", + "rand", + "reqwest", + "serde", + "serde_json", + "thiserror", + "tokio", + "toml", +] + [[package]] name = "core-foundation" version = "0.7.0" @@ -953,9 +953,9 @@ dependencies = [ [[package]] name = "tracing-core" -version = "0.1.14" +version = "0.1.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "db63662723c316b43ca36d833707cc93dff82a02ba3d7e354f342682cc8b3545" +checksum = "4f0e00789804e99b20f12bc7003ca416309d28a6f495d6af58d1e2c2842461b5" dependencies = [ "lazy_static", ] diff --git a/Cargo.toml b/Cargo.toml index 0cd3e0c..8a05d7a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,17 +1,15 @@ [package] -name = "axfive-matrix-dicebot" -version = "0.1.2" -authors = ["Taylor C. Richberger "] +name = "chronicle-dicebot" +version = "0.2.0" +authors = ["Taylor C. Richberger ", "projectmoon "] edition = "2018" license = 'MIT' description = 'A simple async Matrix dicebot' readme = 'README.md' -repository = 'https://gitlab.com/Taywee/axfive-matrix-dicebot' +repository = 'https://github.com/ProjectMoon/matrix-dicebot' keywords = ["games", "dice", "matrix", "bot"] categories = ["games"] -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html - [dependencies] reqwest = "0.10" serde_json = "1" diff --git a/src/bin/dicebot-cmd.rs b/src/bin/dicebot-cmd.rs index 7388e1f..42dddb3 100644 --- a/src/bin/dicebot-cmd.rs +++ b/src/bin/dicebot-cmd.rs @@ -1,4 +1,4 @@ -use axfive_matrix_dicebot::commands::parse_command; +use chronicle_dicebot::commands::parse_command; fn main() -> Result<(), String> { let command = std::env::args().skip(1).collect::>().join(" "); diff --git a/src/bin/dicebot.rs b/src/bin/dicebot.rs index 9c27f67..40967a4 100644 --- a/src/bin/dicebot.rs +++ b/src/bin/dicebot.rs @@ -1,4 +1,4 @@ -use axfive_matrix_dicebot::bot::DiceBot; +use chronicle_dicebot::bot::DiceBot; use tokio::select; use tokio::signal::unix::{signal, SignalKind};