hrpc 0.5.1

Common code for hRPC.
Documentation
[package]
name = "hrpc"
version = "0.5.1"
authors = ["Yusuf Bera Ertan <y.bera003.06@protonmail.com>"]
edition = "2018"
license = "MIT"
repository = "https://github.com/harmony-development/hrpc-rs"
homepage = "https://github.com/harmony-development/hrpc-rs"
description = "Common code for hRPC."
keywords = ["hrpc", "harmony", "rpc"]

[features]
default = ["server", "client"]
server = ["warp"]
client = ["reqwest", "async-tungstenite", "tokio", "tokio-rustls"]

[dependencies]
async-trait = "0.1.42"
prost = "0.7"
bytes = "1.0"
url = "2.2"
futures-util = { version = "0.3", features = ["bilock", "unstable"] }
log = "0.4"
http = "0.2"

warp = { version = "0.3", optional = true }

async-tungstenite = { version = "0.13", features = ["tokio-rustls"], optional = true }
tokio = { version = "1.2", optional = true }
tokio-rustls = { version = "0.22", optional = true }
reqwest = { version = "0.11", default-features = false, features = ["rustls-tls-native-roots"], optional = true }