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

[dependencies]
Maciej Hirsz's avatar
Maciej Hirsz committed
anyhow = "1"
async-trait = "0.1"
beef = { version = "0.5.1", features = ["impl_serde"] }
futures-channel = "0.3.14"
jsonrpsee-types = { path = "../types", version = "0.14.0" }
Maciej Hirsz's avatar
Maciej Hirsz committed
thiserror = "1"
serde = { version = "1.0", default-features = false, features = ["derive"] }
serde_json = { version = "1", features = ["raw_value"] }
tracing = "0.1.34"

# optional deps
arrayvec = { version = "0.7.1", optional = true }
async-channel = { version = "1.6", optional = true }
async-lock = { version = "2.4", optional = true }
futures-util = { version = "0.3.14", default-features = false, optional = true }
hyper = { version = "0.14.10", default-features = false, features = ["stream"], optional = true }
tracing-futures = { version = "0.2", optional = true }
rustc-hash = { version = "1", optional = true }
rand = { version = "0.8", optional = true }
soketto = { version = "0.7.1", optional = true }
parking_lot = { version = "0.12", optional = true }
tokio = { version = "1.16", optional = true }
wasm-bindgen-futures = { version = "0.4.19", optional = true }
futures-timer = { version = "3", optional = true }
globset = { version = "0.4", optional = true }
lazy_static = { version = "1", optional = true }
unicase = { version = "2.6.0", optional = true }
default = []
http-helpers = ["hyper", "futures-util"]
	"arrayvec",
	"futures-util/alloc",
David's avatar
David committed
	"tokio/rt",
	"tokio/sync",
client = ["futures-util/sink", "futures-channel/sink", "futures-channel/std"]
async-client = [
	"client",
	"rustc-hash",
David's avatar
David committed
	"tokio/rt",
	"tokio/sync",
	"futures-timer",
]
async-wasm-client = [
	"async-lock",
	"client",
	"wasm-bindgen-futures",
	"rustc-hash/std",
	"futures-timer/wasm-bindgen",
[dev-dependencies]
serde_json = "1.0"
tokio = { version = "1.16", features = ["macros", "rt"] }
jsonrpsee = { path = "../jsonrpsee", features = ["server", "macros"] }

[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]

[package.metadata.playground]
all-features = true