[package] name = "dock_crypto_utils" version = "0.20.0" edition.workspace = true authors.workspace = true license.workspace = true repository.workspace = true description = "Common code for Dock's crypto libraries" [lib] doctest = false path = "src/lib.rs" [dependencies] ark-ff.workspace = true ark-ec.workspace = true ark-std.workspace = true ark-poly.workspace = true ark-serialize.workspace = true zeroize.workspace = true digest.workspace = true serde.workspace = true serde_with.workspace = true rayon = {workspace = true, optional = true} merlin = { package = "dock_merlin", version = "3.0.0", default-features = false, path = "../merlin" } itertools.workspace = true num = { version = "0.4.1", default-features = false } hkdf = {version = "0.12.3", default-features = false} sha2 = {version = "0.10.8", default-features = false} aead = {version = "0.5.2", default-features = false, features = [ "alloc" ]} [dev-dependencies] blake2.workspace = true ark-bls12-381.workspace = true chacha20poly1305 = {version = "0.10.1", default-features = false} ark-secp256r1 = { version = "^0.4.0", default-features = false } [features] default = ["parallel"] std = ["ark-ff/std", "ark-ec/std", "ark-std/std", "ark-serialize/std", "serde/std", "ark-poly/std", "merlin/std", "num/std", "hkdf/std", "sha2/std", "chacha20poly1305/std"] print-trace = ["ark-std/print-trace"] parallel = ["std", "ark-ff/parallel", "ark-ec/parallel", "ark-poly/parallel", "ark-std/parallel", "rayon"] #with-serde = ["serde", "serde_with"]