[package]
name = "synor-mining"
version.workspace = true
edition.workspace = true
description = "kHeavyHash Proof of Work mining for Synor blockchain"
license.workspace = true

[dependencies]
# Internal crates
synor-types = { path = "../synor-types" }
synor-crypto = { path = "../synor-crypto" }
synor-dag = { path = "../synor-dag" }
synor-consensus = { path = "../synor-consensus" }

# Async runtime
tokio = { workspace = true, features = ["sync", "time", "rt"] }
async-trait.workspace = true
futures.workspace = true

# Serialization
serde.workspace = true
serde_json.workspace = true
borsh.workspace = true

# Cryptography
sha3.workspace = true
blake3.workspace = true
rand.workspace = true

# Utilities
thiserror.workspace = true
parking_lot.workspace = true
dashmap.workspace = true
hex.workspace = true
tracing.workspace = true

[dev-dependencies]
tempfile.workspace = true
criterion.workspace = true

[[bench]]
name = "kheavyhash"
harness = false

[[bench]]
name = "mining_bench"
harness = false
