rust-tg-bot-ext 1.0.0-rc.1

Application framework for Telegram bots -- handlers, filters, persistence, job queue
Documentation
# 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"
rust-version = "1.75"
name = "rust-tg-bot-ext"
version = "1.0.0-rc.1"
authors = ["Jude Etuka <judechinedu122@gmail.com>"]
build = false
exclude = [
    "target/",
    ".github/",
    "docs/",
    "examples/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Application framework for Telegram bots -- handlers, filters, persistence, job queue"
homepage = "https://github.com/HexiCoreDev/rust-telegram-bot"
documentation = "https://docs.rs/rust-tg-bot-ext"
readme = "README.md"
keywords = [
    "telegram",
    "bot",
    "framework",
    "async",
    "handler",
]
categories = [
    "api-bindings",
    "asynchronous",
    "web-programming",
]
license = "LGPL-3.0-only"
repository = "https://github.com/HexiCoreDev/rust-telegram-bot"

[features]
default = ["polling"]
full = [
    "polling",
    "webhooks",
    "webhooks-tls",
    "job-queue",
    "persistence",
    "persistence-json",
    "persistence-sqlite",
    "persistence-redis",
    "persistence-postgres",
    "rate-limiter",
]
job-queue = []
persistence = []
persistence-json = ["persistence"]
persistence-postgres = [
    "persistence",
    "sqlx",
]
persistence-redis = [
    "persistence",
    "redis",
]
persistence-sqlite = [
    "persistence",
    "rusqlite",
]
polling = []
rate-limiter = []
webhooks = ["axum"]
webhooks-tls = [
    "webhooks",
    "tokio-rustls",
    "rustls-pemfile",
    "hyper-util",
    "tokio-util",
]

[lib]
name = "rust_tg_bot_ext"
path = "src/lib.rs"

[[test]]
name = "filter_proptest"
path = "tests/filter_proptest.rs"

[[test]]
name = "persistence_stress"
path = "tests/persistence_stress.rs"

[dependencies.async-trait]
version = "0.1"

[dependencies.axum]
version = "0.8"
optional = true

[dependencies.bytes]
version = "1"

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.hyper-util]
version = "0.1"
features = [
    "tokio",
    "server-auto",
    "http1",
    "service",
]
optional = true

[dependencies.redis]
version = "0.27"
features = [
    "tokio-comp",
    "aio",
]
optional = true

[dependencies.regex]
version = "1"

[dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "multipart",
    "stream",
    "rustls-tls",
]
default-features = false

[dependencies.rusqlite]
version = "0.32"
features = ["bundled"]
optional = true

[dependencies.rust-tg-bot-raw]
version = "1.0.0-rc.1"

[dependencies.rustls-pemfile]
version = "2"
optional = true

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.sqlx]
version = "0.8"
features = [
    "runtime-tokio",
    "postgres",
    "json",
]
optional = true

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "sync",
    "macros",
    "time",
    "signal",
    "fs",
    "io-util",
    "net",
]

[dependencies.tokio-rustls]
version = "0.26"
features = [
    "aws_lc_rs",
    "tls12",
]
optional = true
default-features = false

[dependencies.tokio-util]
version = "0.7"
optional = true

[dependencies.tracing]
version = "0.1"

[dev-dependencies.proptest]
version = "1"