Cargo.toml 1.43 KiB
Newer Older
[package]
Maciej Hirsz's avatar
Maciej Hirsz committed
name = "jsonrpsee-core"
version = "0.6.1"
authors = ["Parity Technologies <[email protected]>"]
description = "Utilities for jsonrpsee"
edition = "2018"
license = "MIT"

[dependencies]
Maciej Hirsz's avatar
Maciej Hirsz committed
anyhow = "1"
Maciej Hirsz's avatar
Maciej Hirsz committed
arrayvec = "0.7.1"
Maciej Hirsz's avatar
Maciej Hirsz committed
async-trait = "0.1"
beef = { version = "0.5.1", features = ["impl_serde"] }
Maciej Hirsz's avatar
Maciej Hirsz committed
thiserror = "1"
futures-channel = { version = "0.3.14", default-features = false }
futures-util = { version = "0.3.14", default-features = false, optional = true }
Maciej Hirsz's avatar
Maciej Hirsz committed
hyper = { version = "0.14.10", default-features = false, features = ["stream"] }
jsonrpsee-types = { path = "../types", version = "0.6.1" }
tracing = { version = "0.1", optional = true }
rustc-hash = { version = "1", optional = true }
rand = { version = "0.8", optional = true }
Maciej Hirsz's avatar
Maciej Hirsz committed
serde = { version = "1.0", default-features = false, features = ["derive"] }
serde_json = { version = "1", features = ["raw_value"] }
soketto = "0.7.1"
parking_lot = { version = "0.11", optional = true }
tokio = { version = "1.8", features = ["rt"], optional = true }
default = []
Maciej Hirsz's avatar
Maciej Hirsz committed
http-helpers = ["futures-util"]
server = [
	"futures-util",
	"rustc-hash",
	"tokio",
Maciej Hirsz's avatar
Maciej Hirsz committed
client = ["futures-util"]
async-client = [
	"client",
	"rustc-hash",
	"tokio/sync", 
	"tokio/macros", 
	"tokio/time", 
	"tracing"
]
[dev-dependencies]
serde_json = "1.0"
tokio = { version = "1.8", features = ["macros", "rt"] }
jsonrpsee = { path = "../jsonrpsee", features = ["server", "macros"] }