Rewrite faucet with tokio v0.3 (#14336)

* Rewrite faucet for contemporary tokio

* Move away from framed decoder
This commit is contained in:
Tyera Eulberg
2020-12-29 20:51:01 -07:00
committed by GitHub
parent fe667db910
commit d63dd95806
4 changed files with 65 additions and 58 deletions

View File

@@ -11,7 +11,6 @@ edition = "2018"
[dependencies]
bincode = "1.3.1"
byteorder = "1.3.4"
bytes = "0.4"
clap = "2.33"
log = "0.4.11"
serde = "1.0.112"
@@ -22,8 +21,7 @@ solana-logger = { path = "../logger", version = "1.6.0" }
solana-metrics = { path = "../metrics", version = "1.6.0" }
solana-sdk = { path = "../sdk", version = "1.6.0" }
solana-version = { path = "../version", version = "1.6.0" }
tokio = "0.1"
tokio-codec = "0.1"
tokio = { version = "0.3", features = ["full"] }
[lib]
crate-type = ["lib"]