1
Fork 0
mirror of https://github.com/Steffo99/patched-porobot.git synced 2024-12-23 01:54:22 +00:00
patched-porobot/Cargo.toml

76 lines
2.3 KiB
TOML
Raw Normal View History

2022-07-31 05:12:50 +00:00
[package]
2022-08-08 17:01:53 +00:00
name = "patched_porobot"
version = "0.9.2"
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
2022-08-09 00:24:35 +00:00
[package.metadata.docs.rs]
2022-08-09 02:43:58 +00:00
all-features = true
cargo-args = ["--bins"]
2022-08-09 00:24:35 +00:00
rustdoc-args = ["--document-private-items"]
2022-07-31 05:12:50 +00:00
[dependencies]
# base
log = { version = "0.4.17" }
2022-08-08 02:10:59 +00:00
itertools = { version = "0.10.3" }
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" }
glob = { version = "0.3.0" }
reqwest = { version = "0.11.11", features = ["rustls-tls", "json"], default-features = false }
# jpg
hex = { version = "0.4.3", optional = true }
base64 = { version = "0.21.0", optional = true }
hmac = { version = "0.12.1", optional = true }
sha2 = { version = "0.10.6", optional = true }
# exec
pretty_env_logger = { version = "0.4.0", optional = true }
2022-08-06 03:07:10 +00:00
# data
serde = { version = "1.0.140", features = ["derive"] }
serde_json = { version = "1.0.82" }
# search
2023-02-07 00:31:15 +00:00
tantivy = { version = "0.19.1", optional = true }
# telegram
teloxide = { version = "0.12.0", features = ["rustls", "ctrlc_handler", "auto-send"], default-features = false, optional = true }
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 }
rand = { version = "0.8.5", optional = true }
# discord
2023-02-07 00:31:15 +00:00
serenity = { version = "0.11.5", features = ["client", "cache", "gateway", "rustls_backend", "model"], default-features = false, optional = true }
anyhow = { version = "^1.0.68", optional = true }
# matrix
[features]
jpg = ["hmac", "sha2", "base64", "hex"]
2023-03-24 00:19:27 +00:00
test = ["tokio"]
exec = ["pretty_env_logger"]
search = ["tantivy"]
telegram = ["exec", "search", "jpg", "teloxide", "tokio", "md5", "rand"]
2023-02-07 00:31:15 +00:00
discord = ["exec", "search", "serenity", "tokio", "anyhow"]
matrix = ["exec", "search"]
[lib]
name = "patched_porobot"
[[bin]]
name = "patched_porobot_telegram"
required-features = ["telegram"]
[[bin]]
name = "patched_porobot_discord"
required-features = ["discord"]
[[bin]]
name = "patched_porobot_matrix"
required-features = ["matrix"]