[package]
name = "synor-sharding"
version = "0.1.0"
edition = "2021"
description = "Synor sharding protocol for 100,000+ TPS scalability"
authors = ["Synor Team"]
license = "MIT"
repository = "https://github.com/synor/blockchain"

[dependencies]
synor-types = { path = "../synor-types" }
synor-crypto = { path = "../synor-crypto" }

# Serialization
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
bincode = "1.3"

# Hashing and Merkle trees
blake3 = "1.5"
sha2 = "0.10"

# Async runtime
tokio = { version = "1.36", features = ["full"] }

# Synchronization
parking_lot = "0.12"
crossbeam-channel = "0.5"

# VRF (Verifiable Random Function)
rand = "0.8"
rand_chacha = "0.3"

# Error handling
thiserror = "1.0"

# Logging
tracing = "0.1"

[dev-dependencies]
proptest = "1.4"
criterion = "0.5"
