Update Cargo files for fork.

This commit is contained in:
jeff 2020-08-23 21:19:38 +00:00 committed by ProjectMoon
parent 2a90927760
commit a62727070a
4 changed files with 23 additions and 25 deletions

34
Cargo.lock generated
View File

@ -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",
]

View File

@ -1,17 +1,15 @@
[package]
name = "axfive-matrix-dicebot"
version = "0.1.2"
authors = ["Taylor C. Richberger <taywee@gmx.com>"]
name = "chronicle-dicebot"
version = "0.2.0"
authors = ["Taylor C. Richberger <taywee@gmx.com>", "projectmoon <projectmoon@agnos.is>"]
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"

View File

@ -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::<Vec<String>>().join(" ");

View File

@ -1,4 +1,4 @@
use axfive_matrix_dicebot::bot::DiceBot;
use chronicle_dicebot::bot::DiceBot;
use tokio::select;
use tokio::signal::unix::{signal, SignalKind};