lib-q-aead 0.0.5

Post-quantum Authenticated Encryption for lib-Q
Documentation
# 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.96.0"
name = "lib-q-aead"
version = "0.0.5"
authors = [
    "Enkom Tech",
    "Nexlab-One",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Post-quantum Authenticated Encryption for lib-Q"
readme = "README.md"
keywords = [
    "cryptography",
    "post-quantum",
    "aead",
    "encryption",
]
categories = ["cryptography"]
license = "Apache-2.0"
repository = "https://github.com/Enkom-Tech/libQ"

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

[package.metadata.wasm-pack.profile.release]
wasm-opt = [
    "-Oz",
    "--enable-bulk-memory",
]

[features]
alloc = ["lib-q-core/alloc"]
default = [
    "alloc",
    "std",
    "shake256",
]
duplex-sponge-aead = [
    "dep:lib-q-duplex-aead",
    "lib-q-duplex-aead/alloc",
    "lib-q-duplex-aead/std",
]
romulus = [
    "romulus-n",
    "romulus-m",
]
romulus-m = [
    "dep:lib-q-romulus",
    "lib-q-romulus/alloc",
]
romulus-n = [
    "dep:lib-q-romulus",
    "lib-q-romulus/alloc",
]
saturnin = [
    "dep:lib-q-saturnin",
    "lib-q-saturnin/aead",
    "lib-q-saturnin/alloc",
]
shake256 = [
    "dep:lib-q-sha3",
    "lib-q-sha3/alloc",
    "dep:lib-q-random",
    "lib-q-random/std",
    "dep:zeroize",
]
std = ["lib-q-core/std"]
tweak-aead = [
    "dep:lib-q-tweak-aead",
    "lib-q-tweak-aead/alloc",
    "lib-q-tweak-aead/std",
]
wasm = [
    "alloc",
    "dep:wasm-bindgen",
    "dep:js-sys",
    "dep:web-sys",
    "dep:serde_json",
    "dep:serde-wasm-bindgen",
    "lib-q-core/wasm",
    "lib-q-core/wasm_getrandom",
    "lib-q-saturnin/wasm",
    "saturnin",
    "duplex-sponge-aead",
    "romulus",
]
zeroize = ["dep:zeroize"]

[lib]
name = "lib_q_aead"
crate-type = [
    "cdylib",
    "rlib",
]
path = "src/lib.rs"
bench = false

[[example]]
name = "basic_usage"
path = "examples/basic_usage.rs"
required-features = [
    "shake256",
    "std",
]

[[example]]
name = "no_std_example"
path = "examples/no_std_example.rs"
required-features = ["shake256"]

[[example]]
name = "performance_benchmarks"
path = "examples/performance_benchmarks.rs"
required-features = [
    "shake256",
    "std",
]

[[example]]
name = "security_features"
path = "examples/security_features.rs"
required-features = [
    "shake256",
    "std",
]

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

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

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

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

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

[[test]]
name = "wasm_smoke"
path = "tests/wasm_smoke.rs"
required-features = [
    "wasm",
    "saturnin",
    "alloc",
]

[[bench]]
name = "aead_benchmarks"
path = "benches/aead_benchmarks.rs"
harness = false

[dependencies.js-sys]
version = "0.3.99"
optional = true

[dependencies.lib-q-core]
version = "0.0.5"

[dependencies.lib-q-duplex-aead]
version = "0.0.5"
optional = true

[dependencies.lib-q-hash]
version = "0.0.5"
optional = true

[dependencies.lib-q-random]
version = "0.0.5"
optional = true

[dependencies.lib-q-romulus]
version = "0.0.5"
optional = true
default-features = false

[dependencies.lib-q-saturnin]
version = "0.0.5"
optional = true

[dependencies.lib-q-sha3]
version = "0.0.5"
optional = true

[dependencies.lib-q-tweak-aead]
version = "0.0.5"
optional = true

[dependencies.lib-q-types]
version = "0.0.5"
default-features = false

[dependencies.once_cell]
version = "1.21.4"

[dependencies.serde-wasm-bindgen]
version = "0.6.5"
optional = true

[dependencies.serde_json]
version = "1.0.150"
optional = true
default-features = false

[dependencies.spin]
version = "0.12.0"

[dependencies.subtle]
version = "2.6.1"
default-features = false

[dependencies.wasm-bindgen]
version = "0.2.122"
features = ["serde-serialize"]
optional = true

[dependencies.web-sys]
version = "0.3.99"
features = [
    "Window",
    "Performance",
]
optional = true

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

[dev-dependencies.hex]
version = "0.4.3"

[dev-dependencies.wasm-bindgen-test]
version = "0.3.72"

[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.criterion]
version = "0.8.2"
features = ["html_reports"]

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = [
    "cfg(hax)",
    "cfg(eurydice)",
    "cfg(doc_cfg)",
    "cfg(std)",
]