# 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 = "tequel-rs"
version = "1.0.2"
authors = ["Gabriel 'dotxav' Xavier <dotxavket@gmail.com>"]
build = false
exclude = [
    "/benches",
    "/tests",
    ".gitignore",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A high-performance, Dual-Wide SIMD cryptographic engine and hash function, built in pure Rust for modern x86_64 architectures."
documentation = "https://docs.rs/tequel-rs"
readme = "README.md"
keywords = [
    "cryptography",
    "encryption",
    "aead",
    "security",
    "rust",
]
categories = [
    "cryptography",
    "algorithms",
    "no-std",
]
license = "MIT"
repository = "https://github.com/G4brielXavier/Tequel"

[features]
default = ["parallel"]
parallel = ["dep:rayon"]
serde = ["dep:serde"]

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

[dependencies.getrandom]
version = "0.2"

[dependencies.hex]
version = "0.4.3"

[dependencies.rayon]
version = "1.8"
optional = true

[dependencies.serde]
version = "1.0"
features = ["derive"]
optional = true

[dependencies.zeroize]
version = "1.7"
features = ["derive"]

[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]

[dev-dependencies.serde_json]
version = "1.0"

[dev-dependencies.sha2]
version = "0.10"

[profile.release]
opt-level = 3
lto = true
codegen-units = 1
panic = "abort"
