[package]
name = "rust-tdlib"
version = "0.4.3"
authors = ["antonio-antuan <an_github@fastmail.com>"]
description = "TDlib (Telegram Database library) client"
homepage = "https://github.com/antonio-antuan/rust-tdlib"
repository = "https://github.com/antonio-antuan/rust-tdlib"
license = "MIT"
keywords = [ "telegram", "tdlib" ]
categories = ["api-bindings"]
include = [
"Cargo.toml",
"**/*.rs",
"README.md",
"CHANGELOG.md",
"LICENSE",
".gitignore"
]
readme = "README.md"
edition = "2018"
[package.metadata.docs.rs]
all-features = true
[features]
client = ["tokio", "lazy_static", "async-trait", "log", "tdjson", "dyn-clone"]
tdjson = []
default = ["client"]
[dependencies]
futures = "0.3"
uuid = { version = "1.2.2", features = ["v4"] }
serde = "1"
serde_derive = "1"
serde_json = "1"
log = { version = "0.4", optional = true }
lazy_static = { version = "1.4", optional = true }
tokio = { version = "1", features = ["sync", "macros", "rt", "time"], optional = true}
async-trait = { version = "0.1", optional = true }
dyn-clone = { version = "1.0.11", optional = true }
[dev-dependencies]
tokio = {version = "1", features = ["macros", "rt-multi-thread", "sync", "time"]}
log = { version = "0.4" }
env_logger = "0.10.0"