54 lines
1.6 KiB
TOML
54 lines
1.6 KiB
TOML
[workspace]
|
|
resolver = "2"
|
|
members = [
|
|
"crates/ccc-crypto-core",
|
|
"crates/ccc-cascade",
|
|
"crates/ccc-crypto-wolfssl",
|
|
"crates/ccc-crypto-rustcrypto",
|
|
"crates/ccc-crypto-oqs",
|
|
"crates/ccc-crypto-boring",
|
|
"crates/ccc-crypto-awslc",
|
|
"tests/conformance",
|
|
]
|
|
# Plain `cargo build` / `cargo test` leave out wolfSSL (GPLv3 or commercial).
|
|
# Build it explicitly: `cargo test -p ccc-crypto-wolfssl` and
|
|
# `cargo test -p ccc-conformance-tests --features wolfssl`.
|
|
default-members = [
|
|
"crates/ccc-crypto-core",
|
|
"crates/ccc-cascade",
|
|
"crates/ccc-crypto-rustcrypto",
|
|
"crates/ccc-crypto-oqs",
|
|
"crates/ccc-crypto-boring",
|
|
"crates/ccc-crypto-awslc",
|
|
"tests/conformance",
|
|
]
|
|
|
|
[workspace.package]
|
|
version = "0.2.0"
|
|
edition = "2021"
|
|
authors = ["Malloc LLC"]
|
|
license = "MIT"
|
|
repository = "https://github.com/letusmsg/ccc_rust"
|
|
|
|
# Shared dependency versions — all crates inherit from here.
|
|
[workspace.dependencies]
|
|
zeroize = { version = "1.8", features = ["derive"] }
|
|
thiserror = "1.0"
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
log = "0.4"
|
|
once_cell = "1.19"
|
|
anyhow = "1.0"
|
|
env_logger = "0.11"
|
|
|
|
# ccc-crypto-core is referenced by every crate in the workspace.
|
|
ccc-crypto-core = { path = "crates/ccc-crypto-core" }
|
|
ccc-cascade = { path = "crates/ccc-cascade" }
|
|
ccc-crypto-rustcrypto = { path = "crates/ccc-crypto-rustcrypto" }
|
|
|
|
|
|
# Classic McEliece key generation is about 100x slower unoptimised; keep
|
|
# debug builds and the provider self-test usable.
|
|
[profile.dev.package.classic-mceliece-rust]
|
|
opt-level = 3
|