# 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"
version = "0.4.5"
authors = ["Ankit Chaubey <ankitchaubey.dev@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Ergonomic Telegram MTProto library — auto-generated TL types, raw API access, session management"
homepage = "https://github.com/ankit-chaubey/layer"
documentation = "https://docs.rs/layer"
readme = "README.md"
keywords = [
    "telegram",
    "mtproto",
    "api",
    "client",
    "bot",
]
categories = [
    "api-bindings",
    "network-programming",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/ankit-chaubey/layer"
resolver = "2"

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

[features]
codegen = ["dep:layer-tl-gen"]
default = []
parser = ["dep:layer-tl-parser"]

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

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

[dependencies.layer-mtproto]
version = "0.4.5"

[dependencies.layer-tl-gen]
version = "0.4.5"
optional = true

[dependencies.layer-tl-parser]
version = "0.4.5"
optional = true

[dependencies.layer-tl-types]
version = "0.4.5"
