1
Fork 0
mirror of https://github.com/Steffo99/patched-porobot.git synced 2024-10-16 17:47:29 +00:00
patched-porobot/Cargo.toml

63 lines
1.6 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"
2022-08-09 01:56:16 +00:00
version = "0.5.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-09 00:24:35 +00:00
[package.metadata.docs.rs]
2022-08-09 02:43:58 +00:00
all-features = true
cargo-args = ["--bins", "--lib"]
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" }
# 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
serde = { version = "1.0.140", features = ["derive"] }
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
[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"]
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"]
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"]