[package]
name = "layer-client"
description = "Production-grade async Telegram client — updates, bots, flood-wait, dialogs, messages"
readme = "README.md"
version.workspace = true
edition.workspace = true
license.workspace = true
authors.workspace = true
repository.workspace = true
homepage.workspace = true
keywords = ["telegram", "mtproto", "client", "bot", "async"]
categories = ["api-bindings", "network-programming", "asynchronous"]
[dependencies]
layer-tl-types = { workspace = true, features = ["tl-api", "tl-mtproto"] }
layer-mtproto = { workspace = true }
tokio = { version = "1", features = ["net", "io-util", "sync", "time", "rt", "rt-multi-thread", "macros"] }
getrandom = "0.2"
flate2 = "1"
num-bigint = "0.4"
num-traits = "0.2"
sha2 = "0.10"
hmac = "0.12"
pbkdf2 = "0.12"
log = "0.4"
pulldown-cmark = "0.11"
chrono = { version = "0.4", features = ["clock"] }
rusqlite = { version = "0.31", optional = true }
tokio-socks = "0.5"
[features]
sqlite-session = ["rusqlite"]