[package]
edition = "2021"
name = "darkpool-client"
version = "0.1.0"
authors = ["Hisoka IO"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "DarkPool SDK: notes, proofs, UTXO state, and transaction building"
readme = false
license = "Apache-2.0"
repository = "https://github.com/hisoka-io/nox"
[features]
default = []
mixnet = ["dep:nox-client"]
[lib]
name = "darkpool_client"
path = "src/lib.rs"
[[test]]
name = "client_prover_test"
path = "tests/client_prover_test.rs"
[[test]]
name = "client_vault_test"
path = "tests/client_vault_test.rs"
[dependencies.ark-ff]
version = "0.5.0"
features = ["asm"]
[dependencies.curve25519-dalek]
version = "4.1"
features = ["rand_core"]
[dependencies.darkpool-crypto]
version = "0.1.0"
[dependencies.ethers]
version = "2.0"
features = [
"ws",
"ipc",
"openssl",
"abigen",
]
[dependencies.hex]
version = "0.4"
[dependencies.nox-client]
version = "0.1.0"
optional = true
[dependencies.nox-core]
version = "0.1.0"
[dependencies.num-bigint]
version = "0.4"
features = ["serde"]
[dependencies.rand]
version = "0.8"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
features = ["preserve_order"]
[dependencies.sha2]
version = "0.10"
features = ["asm"]
[dependencies.thiserror]
version = "2.0.17"
[dependencies.tiny-keccak]
version = "2.0"
features = ["keccak"]
[dependencies.tokio]
version = "1.36"
features = ["full"]
[dependencies.tracing]
version = "0.1"
[dependencies.zeroize]
version = "1.8"
features = ["derive"]
[dev-dependencies.darkpool-crypto]
version = "0.1.0"
[dev-dependencies.serde_json]
version = "1.0"
features = ["preserve_order"]
[lints.clippy]
cast_lossless = "allow"
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
doc_link_with_quotes = "allow"
expect_used = "warn"
items_after_statements = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
needless_pass_by_value = "allow"
panic = "warn"
return_self_not_must_use = "allow"
similar_names = "allow"
too_many_lines = "allow"
unnecessary_wraps = "allow"
unused_async = "allow"
unused_self = "allow"
unwrap_used = "warn"
[lints.clippy.all]
level = "deny"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1