[package]
edition = "2021"
name = "dcrypt-sign"
version = "4.0.0"
authors = ["Heath Ledger"]
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Digital Signature Schemes for the dcrypt library"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/ioi-foundation/dcrypt"
[package.metadata.release]
publish = true
[features]
alloc = [
"dcrypt-api/alloc",
"dcrypt-common/alloc",
"dcrypt-internal/alloc",
"dcrypt-algorithms/alloc",
]
default = [
"std",
"traditional",
"post-quantum",
]
no_std = [
"alloc",
"dcrypt-api/no_std",
"dcrypt-common/no_std",
"dcrypt-internal/no_std",
]
post-quantum = ["alloc"]
std = [
"alloc",
"dcrypt-api/std",
"dcrypt-common/std",
"dcrypt-internal/std",
"dcrypt-algorithms/std",
]
trace = []
traditional = [
"alloc",
"dcrypt-algorithms/kdf",
]
[lib]
name = "dcrypt_sign"
path = "src/lib.rs"
[[bench]]
name = "mldsa"
path = "benches/mldsa.rs"
harness = false
required-features = ["post-quantum"]
[dependencies.dcrypt-algorithms]
version = "=4.0.0"
features = [
"alloc",
"ec",
"hash",
"mac",
"xof",
]
default-features = false
[dependencies.dcrypt-api]
version = "=4.0.0"
default-features = false
[dependencies.dcrypt-common]
version = "=4.0.0"
default-features = false
[dependencies.dcrypt-internal]
version = "=4.0.0"
default-features = false
[dependencies.dcrypt-params]
version = "=4.0.0"
[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]
[dev-dependencies.hex]
version = "0.4"
[lints.rust]
unsafe_code = "forbid"