26 lines
925 B
TOML
26 lines
925 B
TOML
[package]
|
|
name = "ccc-crypto-oqs"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
authors.workspace = true
|
|
license.workspace = true
|
|
description = "Experimental liboqs provider for the CCC crypto system (post-quantum KEMs)."
|
|
|
|
[dependencies]
|
|
ccc-crypto-core.workspace = true
|
|
zeroize.workspace = true
|
|
log.workspace = true
|
|
|
|
# liboqs 0.13.0, built from the vendored C source with cmake (no OpenSSL).
|
|
oqs = { version = "0.11", default-features = false, features = ["std", "vendored", "classic_mceliece", "hqc", "frodokem"], optional = true }
|
|
# The self-test's seeded stream and digests.
|
|
sha3 = { version = "0.12", optional = true }
|
|
getrandom = { version = "0.4", optional = true }
|
|
|
|
[features]
|
|
# Off by default: without it the crate is a stub provider that offers
|
|
# nothing, so a default workspace build never needs cmake or liboqs.
|
|
default = []
|
|
liboqs = ["dep:oqs", "dep:sha3", "dep:getrandom"]
|
|
|