[package] name = "network_helpers_sv2" version = "2.0.0" authors = ["fi3 "] edition = "2018" description = "Networking utils for SV2 roles" license = "MIT OR Apache-2.0" repository = "https://github.com/stratum-mining/stratum" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] async-std = { version = "1.8.0", optional = true } async-channel = { version = "1.8.0", optional = true } tokio = { version = "1", features = ["full"], optional = true } binary_sv2 = { version = "^1.0.0", path = "../../../protocols/v2/binary-sv2/binary-sv2", optional = true } codec_sv2 = { version = "1.0.1", path = "../../../protocols/v2/codec-sv2", features=["noise_sv2"], optional = true } const_sv2 = {version = "1.0.0", path = "../../../protocols/v2/const-sv2"} serde = { version = "1.0.89", features = ["derive"], default-features = false, optional = true } tracing = { version = "0.1" } futures = "0.3.28" [features] default = ["async-channel", "binary_sv2", "codec_sv2"] async_std = ["async-std", "async-channel", "binary_sv2", "codec_sv2"] with_tokio = ["tokio", "async-channel", "binary_sv2", "codec_sv2"] with_serde = ["binary_sv2/with_serde", "serde", "codec_sv2/with_serde"] with_buffer_pool = ["codec_sv2/with_buffer_pool"]