# 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"
rust-version = "1.85"
name = "grain-128aeadv2"
version = "0.1.0"
authors = ["Grégoire Frémion <gregoire.fremion@telecom-sudparis.eu"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Implementation of Grain-128AEADv2 stream cipher."
documentation = "https://docs.rs/grain-128aeadv2"
readme = "README.md"
keywords = [
    "AEAD",
    "grain-128",
    "encryption",
]
categories = [
    "cryptography",
    "no-std",
]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/acmo0/grain-128aeadv2/"

[package.metadata.docs.rs]
all-features = true

[features]
alloc = ["aead/alloc"]
arrayvec = ["aead/arrayvec"]
default = ["vec"]
getrandom = ["aead/getrandom"]
rand_core = ["aead/rand_core"]
vec = []
zeroize = ["dep:zeroize"]

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

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

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

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

[dependencies.aead]
version = "0.6.0-rc.3"
default-features = false

[dependencies.num-traits]
version = "0.2.19"
default-features = false

[dependencies.zeroize]
version = "1.8"
features = ["derive"]
optional = true
default-features = false

[dev-dependencies.proptest]
version = "1.9.0"

[profile.release]
debug = 2
