jsonrpseex-core 0.25.2

Utilities for jsonrpsee
Documentation
# 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 = "2024"
rust-version = "1.85.0"
name = "jsonrpseex-core"
version = "0.25.2"
authors = [
    "Parity Technologies <admin@parity.io>",
    "Pierre Krieger <pierre.krieger1708@gmail.com>",
]
build = false
publish = true
autolib = false
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

[features]
async-client = [
    "client",
    "futures-util",
    "rustc-hash",
    "tokio/macros",
    "tokio/rt",
    "tokio/time",
    "futures-timer",
    "tokio-stream",
    "pin-project",
]
async-wasm-client = [
    "client",
    "futures-util",
    "wasm-bindgen-futures",
    "rustc-hash/std",
    "futures-timer/wasm-bindgen",
    "tokio/macros",
    "tokio/time",
    "pin-project",
]
client = [
    "futures-util/sink",
    "tokio/sync",
    "tower",
    "pin-project",
    "http",
]
default = []
http-helpers = [
    "bytes",
    "futures-util",
    "http-body",
    "http-body-util",
    "http",
]
server = [
    "futures-util",
    "rustc-hash/std",
    "parking_lot",
    "rand",
    "tokio/rt",
    "tokio/sync",
    "tokio/macros",
    "tokio/time",
    "tower",
    "http",
    "pin-project",
]

[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"
features = ["alloc"]
optional = true
default-features = false

[dependencies.http]
version = "1"
optional = true

[dependencies.http-body]
version = "1"
optional = true

[dependencies.http-body-util]
version = "0.1.0"
optional = true

[dependencies.jsonrpsee-types]
version = "0.25.2"
package = "jsonrpseex-types"

[dependencies.parking_lot]
version = "0.12"
optional = true

[dependencies.pin-project]
version = "1.1.3"
optional = true

[dependencies.rand]
version = "0.9"
optional = true

[dependencies.rustc-hash]
version = "2"
optional = true

[dependencies.serde]
version = "1"
features = ["derive"]
default-features = false

[dependencies.serde_json]
version = "1"
features = [
    "alloc",
    "raw_value",
    "std",
    "raw_value",
]
default-features = false

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1.42"
optional = true

[dependencies.tokio-stream]
version = "0.1.7"
optional = true

[dependencies.tower]
version = "0.5"
optional = true

[dependencies.tracing]
version = "0.1.34"

[dev-dependencies.http-body-util]
version = "0.1.0"

[dev-dependencies.serde_json]
version = "1"
features = [
    "alloc",
    "raw_value",
]
default-features = false

[dev-dependencies.tokio]
version = "1.42"
features = [
    "macros",
    "rt",
]

[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen-futures]
version = "0.4.19"
optional = true

[lints.clippy.manual_async_fn]
level = "allow"
priority = -1

[lints.rust.missing_copy_implementations]
level = "warn"
priority = -1

[lints.rust.missing_debug_implementations]
level = "warn"
priority = -1

[lints.rust.missing_docs]
level = "warn"
priority = -1

[lints.rust.rust_2024_compatibility]
level = "warn"
priority = -1