# 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-crypto"
version = "0.4.6"
authors = ["Ankit Chaubey <ankitchaubey.dev@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Cryptographic primitives for Telegram MTProto: AES-IGE, RSA, SHA-1/256, auth key derivation"
homepage = "https://github.com/ankit-chaubey/layer"
documentation = "https://docs.rs/layer-crypto"
readme = "README.md"
keywords = [
    "telegram",
    "mtproto",
    "crypto",
    "aes",
    "rsa",
]
categories = [
    "cryptography",
    "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_crypto"
path = "src/lib.rs"

[dependencies.aes]
version = "0.8.4"

[dependencies.ctr]
version = "0.9"

[dependencies.getrandom]
version = "0.2"

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

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

[dependencies.sha1]
version = "0.10.6"

[dependencies.sha2]
version = "0.10.9"
