# 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 = "2024"
name = "layer-mtproto"
version = "0.5.0"
authors = ["Ankit Chaubey <ankitchaubey.dev@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "MTProto 2.0 session management, message framing, DH key exchange and transport abstractions"
homepage = "https://github.com/ankit-chaubey/layer"
documentation = "https://docs.rs/layer-mtproto"
readme = "README.md"
keywords = [
    "telegram",
    "mtproto",
    "session",
    "transport",
    "crypto",
]
categories = [
    "network-programming",
    "api-bindings",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/ankit-chaubey/layer"
resolver = "2"

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

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

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

[dependencies.getrandom]
version = "0.2"

[dependencies.layer-crypto]
version = "0.5.0"

[dependencies.layer-tl-types]
version = "0.5.0"
features = ["tl-mtproto"]

[dependencies.log]
version = "0.4"

[dependencies.num-bigint]
version = "0.4.6"

[dependencies.num-traits]
version = "0.2.19"

[dependencies.sha1]
version = "0.10.6"
