31 lines
909 B
TOML
31 lines
909 B
TOML
[package]
|
|
name = "ccc-crypto-wolfssl"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
authors.workspace = true
|
|
license.workspace = true
|
|
description = "wolfSSL / wolfCrypt provider for the CCC crypto system."
|
|
|
|
[dependencies]
|
|
ccc-crypto-core.workspace = true
|
|
zeroize.workspace = true
|
|
thiserror.workspace = true
|
|
log.workspace = true
|
|
# Argon2id KDF — wolfSSL v5.7.x has no built-in Argon2, so we use RustCrypto.
|
|
argon2 = { version = "0.5", features = ["zeroize"] }
|
|
|
|
[build-dependencies]
|
|
# cmake crate drives the wolfSSL CMake build from source.
|
|
cmake = "0.1"
|
|
# bindgen generates Rust FFI bindings to the wolfCrypt C headers.
|
|
bindgen = "0.72"
|
|
|
|
[dev-dependencies]
|
|
# hex for decoding NIST test vector strings in tests.
|
|
hex = "0.4"
|
|
|
|
[features]
|
|
# Enable this when building without the wolfSSL C library
|
|
# (e.g. on docs.rs, or for type-checking in CI without cmake).
|
|
stub_ffi = []
|