[package] name = "jsonrpsee" description = "JSON-RPC crate" version = "0.15.1" authors = ["Parity Technologies ", "Pierre Krieger "] license = "MIT" edition = "2021" repository = "https://github.com/paritytech/jsonrpsee" homepage = "https://github.com/paritytech/jsonrpsee" documentation = "https://docs.rs/jsonrpsee" [dependencies] # No support for namespaced features yet so workspace dependencies are prefixed with `jsonrpsee-`. # See https://github.com/rust-lang/cargo/issues/5565 for more details. jsonrpsee-http-client = { path = "../client/http-client", version = "0.15.1", optional = true } jsonrpsee-ws-client = { path = "../client/ws-client", version = "0.15.1", optional = true } jsonrpsee-wasm-client = { path = "../client/wasm-client", version = "0.15.1", optional = true } jsonrpsee-client-transport = { path = "../client/transport", version = "0.15.1", optional = true } jsonrpsee-http-server = { path = "../http-server", version = "0.15.1", optional = true } jsonrpsee-ws-server = { path = "../ws-server", version = "0.15.1", optional = true } jsonrpsee-proc-macros = { path = "../proc-macros", version = "0.15.1", optional = true } jsonrpsee-core = { path = "../core", version = "0.15.1", optional = true } jsonrpsee-types = { path = "../types", version = "0.15.1", optional = true } tracing = { version = "0.1.34", optional = true } [features] client-ws-transport = ["jsonrpsee-client-transport/ws", "jsonrpsee-client-transport/tls"] client-ws-transport-no-tls = ["jsonrpsee-client-transport/ws"] async-client = ["jsonrpsee-core/async-client"] http-client = ["jsonrpsee-http-client", "jsonrpsee-types", "jsonrpsee-core"] http-server = ["jsonrpsee-http-server", "jsonrpsee-types", "jsonrpsee-core"] wasm-client = ["jsonrpsee-wasm-client", "jsonrpsee-types", "jsonrpsee-core"] ws-client = ["jsonrpsee-ws-client", "jsonrpsee-types", "jsonrpsee-core"] ws-server = ["jsonrpsee-ws-server", "jsonrpsee-types", "jsonrpsee-core"] macros = ["jsonrpsee-proc-macros", "jsonrpsee-types", "jsonrpsee-core/client", "tracing"] client = ["http-client", "ws-client", "wasm-client"] server = ["http-server", "ws-server"] full = ["client", "server", "macros", "async-client", "client-ws-transport"] [package.metadata.docs.rs] all-features = true rustdoc-args = ["--cfg", "docsrs"] [package.metadata.playground] all-features = true