[package] name = "translator_sv2" version = "0.1.1" edition = "2021" description = "Server used to bridge SV1 miners to SV2 pools" license = "MIT OR Apache-2.0" repository = "https://github.com/stratum-mining/stratum" [lib] name = "translator_sv2" path = "src/lib/mod.rs" [dependencies] stratum-common = { version = "1.0.0", path = "../../common" } async-channel = "1.5.1" async-recursion = "0.3.2" async-std = { version = "1.12.0", features = ["attributes"] } binary_sv2 = { version = "^1.0.0", path = "../../protocols/v2/binary-sv2/binary-sv2" } buffer_sv2 = { version = "^1.0.0", path = "../../utils/buffer" } codec_sv2 = { version = "^1.0.1", path = "../../protocols/v2/codec-sv2", features = ["noise_sv2", "with_buffer_pool"] } framing_sv2 = { version = "^1.0.0", path = "../../protocols/v2/framing-sv2" } network_helpers_sv2 = { version = "2.0.0", path = "../roles-utils/network-helpers", features=["async_std", "with_buffer_pool"] } once_cell = "1.12.0" roles_logic_sv2 = { version = "^1.0.0", path = "../../protocols/v2/roles-logic-sv2" } serde = { version = "1.0.89", default-features = false, features = ["derive", "alloc"] } serde_json = { version = "1.0.64", default-features = false, features = ["alloc"] } futures = "0.3.25" tokio = { version = "1", features = ["full"] } toml = { version = "0.5.6", git = "https://github.com/diondokter/toml-rs", default-features = false, rev = "c4161aa" } tracing = { version = "0.1" } tracing-subscriber = { version = "0.3" } v1 = { version = "^1.0.0", path = "../../protocols/v1", package="sv1_api" } error_handling = { version = "1.0.0", path = "../../utils/error-handling" } key-utils = { version = "^1.0.0", path = "../../utils/key-utils" } tokio-util = { version = "0.7.10", features = ["codec"] } async-compat = "0.2.1" [dev-dependencies] rand = "0.8.4" sha2 = "0.10.6" [features] with_serde = []