[package]
edition = "2021"
name = "nox-core"
version = "0.1.0"
authors = ["Hisoka IO"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Shared protocol types for the NOX mixnet (events, traits, models, fragmentation)"
readme = false
license = "Apache-2.0"
repository = "https://github.com/hisoka-io/nox"
[lib]
name = "nox_core"
path = "src/lib.rs"
[[test]]
name = "fragmentation_chaos"
path = "tests/fragmentation_chaos.rs"
[[test]]
name = "fragmentation_regression"
path = "tests/fragmentation_regression.rs"
[[bench]]
name = "protocol_bench"
path = "benches/protocol_bench.rs"
harness = false
[dependencies.ark-bn254]
version = "0.5.0"
[dependencies.ark-ed-on-bn254]
version = "0.5.0"
[dependencies.ark-ff]
version = "0.5.0"
features = ["asm"]
[dependencies.ark-std]
version = "0.5.0"
[dependencies.async-trait]
version = "0.1"
[dependencies.bincode]
version = "1.3"
[dependencies.bitflags]
version = "2.4"
features = ["serde"]
[dependencies.darkpool-crypto]
version = "0.1.0"
[dependencies.ethers-core]
version = "2.0"
[dependencies.hex]
version = "0.4"
[dependencies.nox-crypto]
version = "0.1.0"
[dependencies.reed-solomon-erasure]
version = "6.0"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[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"
[dev-dependencies.criterion]
version = "0.5"
[dev-dependencies.rand]
version = "0.8"
[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