[package]
name = "stratum-server"
version = "2.0.0-beta.31"
authors = ["Urkel Labs Engineering <engineering@urkellabs.com>"]
edition = "2018"
license = "MIT"
description = "The server code for the Rust Stratum (v1) implementation"
[features]
default = ["tcp", "api", "metrics"]
tcp = []
websockets = ["async-tungstenite", "api", "metrics"]
api = ["tide"]
metrics = ["prometheus"]
[dependencies]
stratum-types = { path = "../types", version = "^0.9.0"}
extended-primitives = {version = "0.3.4"}
encodings = "0.1.0"
async-std = {version = "1.6.0", features = ["attributes"] }
async-trait = "0.1.38"
futures = "0.3.5"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
uuid = { version = "0.8", features = ["serde", "v4"] }
log = "0.4.8"
chrono = "0.4.10"
rand = "0.7.3"
tide = { version="0.12", optional=true }
prometheus = { version="0.10", features=["process"], optional=true}
async-tungstenite = { version="0.8.0", features=["async-std-runtime", "async-native-tls"], optional=true}
[dev-dependencies]
criterion = "0.3"
[[bench]]
name = "bench_main"
harness = false
[package.metadata.release]
disable-tag = true