[package]
edition = "2024"
rust-version = "1.94"
name = "curvy-core"
version = "0.1.0-rc.3"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Curvy privacy-protocol crypto core (Poseidon, BabyJubjub, note commitments, stealth addressing)"
homepage = "https://github.com/0xCurvy/rs-core"
documentation = "https://docs.rs/curvy-core"
readme = "README.md"
keywords = [
"curvy",
"cryptography",
"zero-knowledge",
"babyjubjub",
"poseidon",
]
categories = [
"cryptography",
"data-structures",
]
license = "MIT"
repository = "https://github.com/0xCurvy/rs-core"
resolver = "2"
[package.metadata.docs.rs]
all-features = true
targets = []
rustdoc-args = [
"-D",
"warnings",
]
[features]
parallel = ["dep:rayon"]
[lib]
name = "curvy_core"
path = "src/lib.rs"
[[test]]
name = "imt_parity"
path = "tests/imt_parity.rs"
[[test]]
name = "phase2_parity"
path = "tests/phase2_parity.rs"
[[test]]
name = "poseidon_parity"
path = "tests/poseidon_parity.rs"
[[test]]
name = "scalar_signature"
path = "tests/scalar_signature.rs"
[[test]]
name = "scalar_witness"
path = "tests/scalar_witness.rs"
[[test]]
name = "stealth_parity"
path = "tests/stealth_parity.rs"
[[test]]
name = "witness_parity"
path = "tests/witness_parity.rs"
[dependencies.aes]
version = "=0.9.2"
[dependencies.ark-bn254]
version = "=0.6.0"
features = [
"std",
"curve",
]
default-features = false
[dependencies.ark-ec]
version = "=0.6.0"
features = ["std"]
default-features = false
[dependencies.ark-ff]
version = "=0.6.0"
features = ["std"]
default-features = false
[dependencies.ark-secp256k1]
version = "=0.6.0"
features = ["std"]
default-features = false
[dependencies.ctr]
version = "=0.10.1"
[dependencies.getrandom]
version = "=0.2.17"
features = ["js"]
[dependencies.hkdf]
version = "=0.13.0"
[dependencies.hmac]
version = "=0.13.0"
[dependencies.num-bigint]
version = "=0.5.1"
[dependencies.rayon]
version = "=1.12.0"
optional = true
[dependencies.serde]
version = "=1.0.229"
features = ["derive"]
[dependencies.serde_json]
version = "=1.0.151"
[dependencies.sha2]
version = "=0.11.0"
[dependencies.zeroize]
version = "=1.9.0"
[dev-dependencies.pso-poseidon]
version = "=0.4.0"
[dev-dependencies.serde]
version = "=1.0.229"
features = ["derive"]
[dev-dependencies.serde_json]
version = "=1.0.151"