[package]
edition = "2021"
rust-version = "1.70"
name = "toptl"
version = "0.1.0"
authors = ["TOP.TL <hello@top.tl>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Official Rust SDK for the TOP.TL Telegram directory API — post stats, check votes, manage vote webhooks."
homepage = "https://top.tl"
documentation = "https://docs.rs/toptl"
readme = "README.md"
keywords = [
"telegram",
"toptl",
"bot",
"directory",
"api",
]
categories = [
"api-bindings",
"asynchronous",
]
license = "MIT"
repository = "https://github.com/top-tl/rust"
[lib]
name = "toptl"
path = "src/lib.rs"
[dependencies.reqwest]
version = "0.12"
features = [
"json",
"rustls-tls",
]
default-features = false
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = [
"rt",
"time",
"sync",
"macros",
]
[dev-dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"macros",
]