2022-07-31 05:12:50 +00:00
|
|
|
[package]
|
2022-08-08 17:01:53 +00:00
|
|
|
name = "patched_porobot"
|
2022-08-06 03:07:33 +00:00
|
|
|
version = "0.3.0"
|
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-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" }
|
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-04 08:33:17 +00:00
|
|
|
# exec
|
|
|
|
pretty_env_logger = { version = "0.4.0", optional = true }
|
|
|
|
glob = { version = "0.3.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
|
|
|
|
tantivy = { version = "0.18.0", optional = true }
|
|
|
|
# telegram
|
|
|
|
teloxide = { version = "0.10.1", optional = true }
|
|
|
|
reqwest = { version = "0.11.11", optional = true }
|
|
|
|
tokio = { version = "1.20.1", features = ["rt-multi-thread", "macros"], optional = true }
|
|
|
|
# discord
|
|
|
|
# matrix
|
|
|
|
|
2022-08-08 17:55:59 +00:00
|
|
|
|
2022-08-04 08:33:17 +00:00
|
|
|
[features]
|
2022-08-06 03:07:10 +00:00
|
|
|
# data = [] # Always included
|
2022-08-05 16:14:02 +00:00
|
|
|
exec = ["pretty_env_logger", "glob"]
|
2022-08-04 08:33:17 +00:00
|
|
|
search = ["tantivy"]
|
2022-08-06 17:44:44 +00:00
|
|
|
telegram = ["exec", "search", "teloxide", "reqwest", "tokio"]
|
2022-08-08 16:53:17 +00:00
|
|
|
discord = ["exec", "search"]
|
2022-08-08 17:55:59 +00:00
|
|
|
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"]
|