faest 0.3.0

Pure Rust implementation of the FAEST post-quantum secure digital signature scheme
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.88"
name = "faest"
version = "0.3.0"
authors = [
    "Sebastian Ramacher <sebastian.ramacher@ait.ac.at>",
    "Clément Naves <clement.naves@ait.ac.at>",
    "Alessandro Colombo <alessandro.colombo@ait.ac.at>",
]
build = false
exclude = [
    "tests/data/*.json",
    "tests/data/PQCsignKAT_*.rsp",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pure Rust implementation of the FAEST post-quantum secure digital signature scheme"
homepage = "https://faest.info"
readme = "README.md"
keywords = [
    "signatures",
    "FAEST",
    "post-quantum",
]
categories = ["cryptography"]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/ait-crypto/faest-rs"

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

[package.metadata.capi.library]
version = "1.0.0"

[features]
capi = [
    "dep:rand",
    "dep:libc",
    "dep:zeroize",
    "rand/std_rng",
    "rand/std",
    "rand/thread_rng",
]
default = [
    "zeroize",
    "randomized-signer",
    "opt-simd",
    "std",
]
opt-simd = ["std"]
randomized-signer = ["signature/rand_core"]
serde = [
    "dep:serde",
    "dep:serde-big-array",
    "hybrid-array/serde",
]
std = [
    "itertools/use_std",
    "rand/std_rng",
    "rand/std",
]
zeroize = [
    "dep:zeroize",
    "aes/zeroize",
    "ctr/zeroize",
]

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

[[example]]
name = "simple"
path = "examples/simple.rs"
required-features = [
    "randomized-signer",
    "std",
]

[[test]]
name = "memcheck"
path = "tests/memcheck.rs"
harness = false
required-features = [
    "randomized-signer",
    "std",
]

[[test]]
name = "nist"
path = "tests/nist.rs"
required-features = [
    "randomized-signer",
    "std",
]

[dependencies.aes]
version = "0.9"
default-features = false

[dependencies.bitvec]
version = "1.0.1"
features = ["alloc"]
default-features = false

[dependencies.cmov]
version = "0.5.3"

[dependencies.ctr]
version = "0.10"
default-features = false

[dependencies.hybrid-array]
version = "0.4.11"
features = ["extra-sizes"]
default-features = true

[dependencies.itertools]
version = "0.14"
default-features = false

[dependencies.libc]
version = "0.2"
optional = true
default-features = false

[dependencies.pastey]
version = "0.2"

[dependencies.rand]
version = "0.10"
optional = true
default-features = false

[dependencies.rand_core]
version = "0.10"
default-features = false

[dependencies.serde]
version = "1"
features = ["derive"]
optional = true
default-features = false

[dependencies.serde-big-array]
version = "0.5.1"
optional = true

[dependencies.sha3]
version = "0.11"
default-features = false

[dependencies.signature]
version = "3"
features = ["alloc"]
default-features = false

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

[dev-dependencies.cfg-if]
version = "1"

[dev-dependencies.generic-tests]
version = "0.1"

[dev-dependencies.hex]
version = "0.4"
features = ["alloc"]
default-features = false

[dev-dependencies.nist-pqc-seeded-rng]
version = "0.4"
default-features = false

[dev-dependencies.rand]
version = "0.10"
features = ["thread_rng"]
default-features = false

[dev-dependencies.serde]
version = "1"
features = ["derive"]

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

[target.'cfg(any(target_arch = "x86", target_arch = "x86_64"))'.dependencies.cpufeatures]
version = "0.3.0"

[target.'cfg(valgrind = "enabled")'.dependencies.vgzzq]
version = "1"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ['cfg(valgrind, values("enabled"))']

[profile.bench]
lto = "fat"

[profile.dev.package."*"]
opt-level = 3

[profile.profiling]
debug = 2
inherits = "release"
strip = false