[package]
name        = "layer-mtproto"
description = "MTProto 2.0 session management, message framing, DH key exchange and transport abstractions"
readme = "README.md"
version.workspace    = true
edition.workspace    = true
license.workspace    = true
authors.workspace    = true
repository.workspace = true
homepage.workspace   = true
documentation = "https://docs.rs/layer-mtproto"
keywords             = ["telegram", "mtproto", "session", "transport", "crypto"]
categories           = ["network-programming", "api-bindings"]

[dependencies]
layer-tl-types = { workspace = true, features = ["tl-mtproto"] }
layer-crypto   = { workspace = true }
getrandom      = "0.2"
log            = "0.4"
num-bigint     = "0.4.6"
num-traits     = "0.2.19"
sha1           = "0.10.6"

[package.metadata.docs.rs]
rustdoc-args = ["--cfg", "docsrs"]
