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

41 lines
1.2 KiB
TOML

[package]
name = "patched-porobot"
version = "0.3.0"
authors = ["Stefano Pigozzi <me@steffo.eu>"]
edition = "2021"
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"]
[dependencies]
# base
log = { version = "0.4.17" }
itertools = { version = "0.10.3" } # Not using this yet
# exec
pretty_env_logger = { version = "0.4.0", optional = true }
glob = { version = "0.3.0", optional = true }
# 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]
# data = [] # Always included
exec = ["pretty_env_logger", "glob"]
search = ["tantivy"]
telegram = ["search", "teloxide", "reqwest", "tokio"]
# discord = ["search"]
# matrix = ["search"]
[lib]
name = "patched_porobot"
path = "src/lib.rs"