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" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cdb031dd78e28731d87d56cc8ffef4a8f36ca26c38fe2de700543e627f8a464a" checksum = "cdb031dd78e28731d87d56cc8ffef4a8f36ca26c38fe2de700543e627f8a464a"
[[package]]
name = "axfive-matrix-dicebot"
version = "0.1.2"
dependencies = [
"itertools",
"nom",
"rand",
"reqwest",
"serde",
"serde_json",
"thiserror",
"tokio",
"toml",
]
[[package]] [[package]]
name = "base64" name = "base64"
version = "0.12.3" version = "0.12.3"
@ -69,6 +54,21 @@ version = "0.1.10"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822" checksum = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822"
[[package]]
name = "chronicle-dicebot"
version = "0.2.0"
dependencies = [
"itertools",
"nom",
"rand",
"reqwest",
"serde",
"serde_json",
"thiserror",
"tokio",
"toml",
]
[[package]] [[package]]
name = "core-foundation" name = "core-foundation"
version = "0.7.0" version = "0.7.0"
@ -953,9 +953,9 @@ dependencies = [
[[package]] [[package]]
name = "tracing-core" name = "tracing-core"
version = "0.1.14" version = "0.1.15"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "db63662723c316b43ca36d833707cc93dff82a02ba3d7e354f342682cc8b3545" checksum = "4f0e00789804e99b20f12bc7003ca416309d28a6f495d6af58d1e2c2842461b5"
dependencies = [ dependencies = [
"lazy_static", "lazy_static",
] ]

View File

@ -1,17 +1,15 @@
[package] [package]
name = "axfive-matrix-dicebot" name = "chronicle-dicebot"
version = "0.1.2" version = "0.2.0"
authors = ["Taylor C. Richberger <taywee@gmx.com>"] authors = ["Taylor C. Richberger <taywee@gmx.com>", "projectmoon <projectmoon@agnos.is>"]
edition = "2018" edition = "2018"
license = 'MIT' license = 'MIT'
description = 'A simple async Matrix dicebot' description = 'A simple async Matrix dicebot'
readme = 'README.md' readme = 'README.md'
repository = 'https://gitlab.com/Taywee/axfive-matrix-dicebot' repository = 'https://github.com/ProjectMoon/matrix-dicebot'
keywords = ["games", "dice", "matrix", "bot"] keywords = ["games", "dice", "matrix", "bot"]
categories = ["games"] categories = ["games"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies] [dependencies]
reqwest = "0.10" reqwest = "0.10"
serde_json = "1" 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> { fn main() -> Result<(), String> {
let command = std::env::args().skip(1).collect::<Vec<String>>().join(" "); 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::select;
use tokio::signal::unix::{signal, SignalKind}; use tokio::signal::unix::{signal, SignalKind};