[package]
edition = "2021"
rust-version = "1.93"
name = "hush-core"
version = "0.2.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core cryptographic primitives for clawdstrike"
readme = "README.md"
keywords = [
"security",
"cryptography",
"verification",
"clawdstrike",
]
categories = [
"cryptography",
"authentication",
]
license = "Apache-2.0"
repository = "https://github.com/backbay-labs/clawdstrike"
[features]
default = []
wasm = []
[lib]
name = "hush_core"
path = "src/lib.rs"
[[test]]
name = "canonical_vectors"
path = "tests/canonical_vectors.rs"
[[test]]
name = "proptest_crypto"
path = "tests/proptest_crypto.rs"
[[test]]
name = "proptest_merkle"
path = "tests/proptest_merkle.rs"
[[test]]
name = "receipt_posture_snapshot_vectors"
path = "tests/receipt_posture_snapshot_vectors.rs"
[[test]]
name = "receipt_version_vectors"
path = "tests/receipt_version_vectors.rs"
[[bench]]
name = "crypto"
path = "benches/crypto.rs"
harness = false
[dependencies.chrono]
version = "0.4"
features = ["serde"]
[dependencies.ed25519-dalek]
version = "2.2"
features = [
"rand_core",
"zeroize",
]
[dependencies.hex]
version = "0.4"
[dependencies.rand_core]
version = "0.6"
features = ["getrandom"]
[dependencies.ryu]
version = "1.0"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.sha2]
version = "0.10"
[dependencies.sha3]
version = "0.10"
[dependencies.thiserror]
version = "2.0"
[dependencies.zeroize]
version = "1"
[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]
[dev-dependencies.proptest]
version = "1.10"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tempfile]
version = "3.25"
[target.'cfg(target_arch = "wasm32")'.dependencies.getrandom]
version = "0.2"
features = ["js"]
[lints.clippy]
expect_used = "deny"
unwrap_used = "deny"