[package]
edition = "2024"
rust-version = "1.85"
name = "warpcrypto"
version = "2.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Fast AES-256-IGE, AES-256-CTR and MTProto 2.0 message packing for Telegram clients"
readme = "README.md"
keywords = [
"mtproto",
"telegram",
"aes",
"ige",
"crypto",
]
categories = ["cryptography"]
license = "Apache-2.0"
repository = "https://github.com/rjriajul/WarpCrypto"
[features]
python = ["dep:pyo3"]
[lib]
name = "warpcrypto"
path = "src/lib.rs"
[[test]]
name = "rust"
path = "tests/rust.rs"
[dependencies.aes]
version = "0.9.2"
[dependencies.getrandom]
version = "0.2"
[dependencies.pyo3]
version = "0.29.0"
optional = true
[dependencies.sha2]
version = "0.10"
[profile.release]
lto = "fat"
codegen-units = 1
strip = "symbols"