2022-07-31 05:12:50 +00:00
|
|
|
[package]
|
2022-08-08 17:01:53 +00:00
|
|
|
name = "patched_porobot"
|
2024-10-01 14:03:49 +00:00
|
|
|
version = "1.0.1"
|
2022-08-04 08:22:52 +00:00
|
|
|
authors = ["Stefano Pigozzi <me@steffo.eu>"]
|
2022-07-31 05:12:50 +00:00
|
|
|
edition = "2021"
|
2022-08-04 08:22:52 +00:00
|
|
|
description = "Legends of Runeterra card database utilities and bots"
|
|
|
|
repository = "https://github.com/Steffo99/patched-porobot"
|
|
|
|
license = "AGPL-3.0-or-later"
|
|
|
|
keywords = ["game", "deserialization", "legends-of-runeterra", "bot", "search"]
|
|
|
|
categories = ["games", "parser-implementations"]
|
2022-07-31 05:12:50 +00:00
|
|
|
|
2023-03-19 19:58:00 +00:00
|
|
|
|
2022-08-09 00:24:35 +00:00
|
|
|
[package.metadata.docs.rs]
|
2022-08-09 02:43:58 +00:00
|
|
|
all-features = true
|
2023-02-07 02:10:53 +00:00
|
|
|
cargo-args = ["--bins"]
|
2022-08-09 00:24:35 +00:00
|
|
|
rustdoc-args = ["--document-private-items"]
|
|
|
|
|
2022-08-08 17:55:59 +00:00
|
|
|
|
2022-07-31 05:12:50 +00:00
|
|
|
[dependencies]
|
2022-08-04 08:33:17 +00:00
|
|
|
# base
|
|
|
|
log = { version = "0.4.17" }
|
2024-10-01 13:47:55 +00:00
|
|
|
itertools = { version = "0.10.3" }
|
2022-08-08 02:10:59 +00:00
|
|
|
regex = { version = "1.6.0" }
|
|
|
|
lazy_static = { version = "1.4.0" }
|
2022-08-21 22:21:41 +00:00
|
|
|
data-encoding = { version = "2.3.2" }
|
|
|
|
varint-rs = { version = "2.2.0" }
|
2023-01-30 17:33:50 +00:00
|
|
|
glob = { version = "0.3.0" }
|
2024-10-01 13:47:55 +00:00
|
|
|
reqwest = { version = "0.11.11", features = ["rustls-tls", "json"], default-features = false }
|
2023-03-23 23:51:18 +00:00
|
|
|
# jpg
|
|
|
|
hex = { version = "0.4.3", optional = true }
|
2024-10-01 13:47:55 +00:00
|
|
|
base64 = { version = "0.21.0", optional = true }
|
2023-03-23 23:51:18 +00:00
|
|
|
hmac = { version = "0.12.1", optional = true }
|
|
|
|
sha2 = { version = "0.10.6", optional = true }
|
2022-08-04 08:33:17 +00:00
|
|
|
# exec
|
2024-10-01 13:47:55 +00:00
|
|
|
pretty_env_logger = { version = "0.4.0", optional = true }
|
2022-08-06 03:07:10 +00:00
|
|
|
# data
|
2022-08-04 19:07:27 +00:00
|
|
|
serde = { version = "1.0.140", features = ["derive"] }
|
2022-08-04 08:33:17 +00:00
|
|
|
serde_json = { version = "1.0.82" }
|
|
|
|
# search
|
2024-10-01 13:47:55 +00:00
|
|
|
tantivy = { version = "0.19.1", optional = true }
|
2022-08-04 08:33:17 +00:00
|
|
|
# telegram
|
2024-10-01 13:47:55 +00:00
|
|
|
teloxide = { version = "0.12.0", features = ["rustls", "ctrlc_handler", "auto-send"], default-features = false, optional = true }
|
2023-01-15 11:41:23 +00:00
|
|
|
tokio = { version = "1.20.3", features = ["rt-multi-thread", "macros"], optional = true }
|
2022-08-21 22:21:41 +00:00
|
|
|
md5 = { version = "0.7.0", optional = true }
|
2023-01-15 11:24:35 +00:00
|
|
|
rand = { version = "0.8.5", optional = true }
|
2022-08-04 08:33:17 +00:00
|
|
|
# discord
|
2024-10-01 13:47:55 +00:00
|
|
|
serenity = { version = "0.11.5", features = ["client", "cache", "gateway", "rustls_backend", "model"], default-features = false, optional = true }
|
2023-02-07 00:31:15 +00:00
|
|
|
anyhow = { version = "^1.0.68", optional = true }
|
2022-08-04 08:33:17 +00:00
|
|
|
|
2022-08-08 17:55:59 +00:00
|
|
|
|
2023-03-24 12:38:32 +00:00
|
|
|
[dev-dependencies]
|
|
|
|
tokio = { version = "1.20.3", features = ["rt-multi-thread", "macros"] }
|
|
|
|
|
|
|
|
|
2022-08-04 08:33:17 +00:00
|
|
|
[features]
|
2023-03-23 23:51:18 +00:00
|
|
|
jpg = ["hmac", "sha2", "base64", "hex"]
|
2023-03-24 00:19:27 +00:00
|
|
|
test = ["tokio"]
|
2023-01-30 17:33:50 +00:00
|
|
|
exec = ["pretty_env_logger"]
|
2022-08-04 08:33:17 +00:00
|
|
|
search = ["tantivy"]
|
2023-03-23 23:51:18 +00:00
|
|
|
telegram = ["exec", "search", "jpg", "teloxide", "tokio", "md5", "rand"]
|
2023-02-07 00:31:15 +00:00
|
|
|
discord = ["exec", "search", "serenity", "tokio", "anyhow"]
|
2022-08-08 17:55:59 +00:00
|
|
|
|
|
|
|
|
|
|
|
[lib]
|
|
|
|
name = "patched_porobot"
|
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
name = "patched_porobot_telegram"
|
|
|
|
required-features = ["telegram"]
|
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
name = "patched_porobot_discord"
|
|
|
|
required-features = ["discord"]
|