# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.74.1" name = "jsonrpsee-core" version = "0.24.7" authors = [ "Parity Technologies ", "Pierre Krieger ", ] build = false publish = true autobins = false autoexamples = false autotests = false autobenches = false description = "Utilities for jsonrpsee" homepage = "https://www.parity.io/" documentation = "https://docs.rs/jsonrpsee" readme = "README.md" keywords = [ "jsonrpc", "json", "http", "websocket", "WASM", ] license = "MIT" repository = "https://github.com/paritytech/jsonrpsee" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [package.metadata.playground] all-features = true [lib] name = "jsonrpsee_core" path = "src/lib.rs" [dependencies.async-trait] version = "0.1" [dependencies.bytes] version = "1.6" optional = true [dependencies.futures-timer] version = "3" optional = true [dependencies.futures-util] version = "0.3.14" optional = true default-features = false [dependencies.http] version = "1.1" optional = true default-features = false [dependencies.http-body] version = "1" optional = true [dependencies.http-body-util] version = "0.1.1" optional = true [dependencies.jsonrpsee-types] version = "0.24.7" [dependencies.parking_lot] version = "0.12" optional = true [dependencies.pin-project] version = "1" optional = true [dependencies.rand] version = "0.8" optional = true [dependencies.rustc-hash] version = "2" optional = true [dependencies.serde] version = "1.0" features = ["derive"] default-features = false [dependencies.serde_json] version = "1" features = ["raw_value"] [dependencies.thiserror] version = "1" [dependencies.tokio] version = "1.23.1" optional = true [dependencies.tokio-stream] version = "0.1" optional = true [dependencies.tracing] version = "0.1.34" [dev-dependencies.http-body-util] version = "0.1.1" [dev-dependencies.serde_json] version = "1.0" [dev-dependencies.tokio] version = "1.23.1" features = [ "macros", "rt", ] [features] async-client = [ "client", "futures-util/alloc", "rustc-hash", "tokio/macros", "tokio/rt", "tokio/time", "futures-timer", "tokio-stream", "pin-project", ] async-wasm-client = [ "client", "futures-util/alloc", "wasm-bindgen-futures", "rustc-hash/std", "futures-timer/wasm-bindgen", "tokio/macros", "tokio/time", "pin-project", ] client = [ "futures-util/sink", "tokio/sync", ] default = [] http-helpers = [ "bytes", "futures-util", "http-body", "http-body-util", "http", ] server = [ "futures-util/alloc", "rustc-hash/std", "parking_lot", "rand", "tokio/rt", "tokio/sync", "tokio/macros", "tokio/time", "http", ] [target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen-futures] version = "0.4.19" optional = true