[package]
edition = "2021"
name = "cas-lib"
version = "0.2.74"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A function wrapper layer for RustCrypto and Dalek-Cryptography. Intended to be used in FFI situations with a global heap deallactor at the top level project."
readme = "README.md"
license = "Apache-2.0"
[lib]
name = "cas_lib"
crate-type = ["lib"]
path = "src/lib.rs"
[[test]]
name = "asymmetric"
path = "tests/asymmetric.rs"
[[test]]
name = "compression"
path = "tests/compression.rs"
[[test]]
name = "digital_signatures"
path = "tests/digital_signatures.rs"
[[test]]
name = "hashers"
path = "tests/hashers.rs"
[[test]]
name = "hybrid"
path = "tests/hybrid.rs"
[[test]]
name = "key_exchange"
path = "tests/key_exchange.rs"
[[test]]
name = "message"
path = "tests/message.rs"
[[test]]
name = "password_hashers"
path = "tests/password_hashers.rs"
[[test]]
name = "pqc"
path = "tests/pqc.rs"
[[test]]
name = "signatures"
path = "tests/signatures.rs"
[[test]]
name = "sponges"
path = "tests/sponges.rs"
[[test]]
name = "symmetric"
path = "tests/symmetric.rs"
[dependencies.aes-gcm]
version = "0.10.3"
[dependencies.argon2]
version = "0.5.2"
[dependencies.ascon-aead]
version = "0.5.2"
[dependencies.bcrypt]
version = "0.18.0"
[dependencies.blake2]
version = "0.10.6"
[dependencies.chacha20poly1305]
version = "0.10.1"
[dependencies.ed25519-dalek]
version = "2"
features = ["rand_core"]
[dependencies.hkdf]
version = "0.12.4"
[dependencies.hmac]
version = "0.12.1"
[dependencies.hpke]
version = "0.12.0"
[dependencies.ml-kem]
version = "0.2.1"
[dependencies.once_cell]
version = "1.21.3"
[dependencies.pbkdf2]
version = "0.12.2"
[dependencies.rand]
version = "0.8.5"
[dependencies.rand_chacha]
version = "0.3.1"
[dependencies.rsa]
version = "0.9.6"
[dependencies.scrypt]
version = "0.11.0"
[dependencies.serde]
version = "1.0.228"
features = ["derive"]
[dependencies.sha2]
version = "0.10.8"
[dependencies.sha3]
version = "0.10.8"
[dependencies.slh-dsa]
version = "0.0.3"
[dependencies.url]
version = "2.5.7"
[dependencies.uuid]
version = "1.10.0"
features = ["v4"]
[dependencies.x25519-dalek]
version = "2.0.0"
features = ["static_secrets"]
[dependencies.zstd]
version = "0.13"
[build-dependencies.napi-build]
version = "1"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.reqwest]
version = "0.12.24"
features = [
"cookies",
"rustls-tls",
"json",
]
default-features = false
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio]
version = "1.48.0"
features = [
"macros",
"rt-multi-thread",
]
[target.'cfg(target_arch = "wasm32")'.dependencies.reqwest]
version = "0.12.24"
features = [
"cookies",
"json",
]
default-features = false
[profile.dev.package.num-bigint-dig]
opt-level = 3