# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "patched_porobot" version = "1.0.1" authors = ["Stefano Pigozzi "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Legends of Runeterra card database utilities and bots" readme = "README.md" keywords = [ "game", "deserialization", "legends-of-runeterra", "bot", "search", ] categories = [ "games", "parser-implementations", ] license = "AGPL-3.0-or-later" repository = "https://github.com/Steffo99/patched-porobot" [package.metadata.docs.rs] all-features = true cargo-args = ["--bins"] rustdoc-args = ["--document-private-items"] [lib] name = "patched_porobot" path = "src/lib.rs" [[bin]] name = "patched_porobot_discord" path = "src/bin/patched_porobot_discord.rs" required-features = ["discord"] [[bin]] name = "patched_porobot_telegram" path = "src/bin/patched_porobot_telegram.rs" required-features = ["telegram"] [dependencies.anyhow] version = "^1.0.68" optional = true [dependencies.base64] version = "0.21.0" optional = true [dependencies.data-encoding] version = "2.3.2" [dependencies.glob] version = "0.3.0" [dependencies.hex] version = "0.4.3" optional = true [dependencies.hmac] version = "0.12.1" optional = true [dependencies.itertools] version = "0.10.3" [dependencies.lazy_static] version = "1.4.0" [dependencies.log] version = "0.4.17" [dependencies.md5] version = "0.7.0" optional = true [dependencies.pretty_env_logger] version = "0.4.0" optional = true [dependencies.rand] version = "0.8.5" optional = true [dependencies.regex] version = "1.6.0" [dependencies.reqwest] version = "0.11.11" features = [ "rustls-tls", "json", ] default-features = false [dependencies.serde] version = "1.0.140" features = ["derive"] [dependencies.serde_json] version = "1.0.82" [dependencies.serenity] version = "0.11.5" features = [ "client", "cache", "gateway", "rustls_backend", "model", ] optional = true default-features = false [dependencies.sha2] version = "0.10.6" optional = true [dependencies.tantivy] version = "0.19.1" optional = true [dependencies.teloxide] version = "0.12.0" features = [ "rustls", "ctrlc_handler", "auto-send", ] optional = true default-features = false [dependencies.tokio] version = "1.20.3" features = [ "rt-multi-thread", "macros", ] optional = true [dependencies.varint-rs] version = "2.2.0" [dev-dependencies.tokio] version = "1.20.3" features = [ "rt-multi-thread", "macros", ] [features] discord = [ "exec", "search", "serenity", "tokio", "anyhow", ] exec = ["pretty_env_logger"] jpg = [ "hmac", "sha2", "base64", "hex", ] search = ["tantivy"] telegram = [ "exec", "search", "jpg", "teloxide", "tokio", "md5", "rand", ] test = ["tokio"]