[package]
name = "dig-peer-protocol"
version = "0.5.0"
edition = "2021"
authors = ["Michael Taylor <michael@berkeleycompute.com>"]
description = "DIG Network L2 protocol types extending Chia's wire protocol (opcodes 200+)"
license = "Apache-2.0"
repository = "https://github.com/DIG-Network/dig-peer-protocol"
readme = "README.md"
keywords = ["chia", "dig", "protocol", "p2p", "gossip"]
categories = ["network-programming", "cryptography::cryptocurrencies"]
[dependencies]
chia-protocol = "0.26"
chia-traits = "0.26"
chia_streamable_macro = "0.26"
chia-sha2 = "0.26"
chia-ssl = "0.26"
chia-sdk-client = { version = "0.28", default-features = false }
serde = { version = "1", features = ["derive"] }
futures-util = "0.3.30"
thiserror = "2"
tokio = { version = "1", features = ["sync", "time", "rt", "net", "macros"] }
tokio-tungstenite = "0.24"
tungstenite = "0.24"
tracing = "0.1"
[dev-dependencies]
serde_json = "1"
tokio = { version = "1", features = ["rt-multi-thread", "macros", "io-util", "time"] }
[features]
native-tls = ["chia-sdk-client/native-tls", "tokio-tungstenite/native-tls"]
rustls = ["chia-sdk-client/rustls", "tokio-tungstenite/rustls-tls-webpki-roots"]
[lints.rust]
unsafe_code = "deny"