# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2018" name = "network_helpers" version = "1.0.0" authors = ["fi3 "] description = "Networking utils for SV2 roles" license = "MIT OR Apache-2.0" repository = "https://github.com/stratum-mining/stratum" resolver = "2" [dependencies.async-channel] version = "1.8.0" optional = true [dependencies.async-std] version = "1.8.0" optional = true [dependencies.binary_sv2] version = "^1.0.0" optional = true [dependencies.codec_sv2] version = "1.0.0" features = ["noise_sv2"] optional = true [dependencies.const_sv2] version = "1.0.0" [dependencies.futures] version = "0.3.28" [dependencies.serde] version = "1.0.89" features = ["derive"] optional = true default-features = false [dependencies.tokio] version = "1" features = ["full"] optional = true [dependencies.tracing] version = "0.1" [features] async_std = [ "async-std", "async-channel", "binary_sv2", "codec_sv2", ] default = [ "async-channel", "binary_sv2", "codec_sv2", ] with_buffer_pool = ["codec_sv2/with_buffer_pool"] with_serde = [ "binary_sv2/with_serde", "serde", "codec_sv2/with_serde", ] with_tokio = [ "tokio", "async-channel", "binary_sv2", "codec_sv2", ]