Cargo Features

[dependencies]
jsonrpc-client-transports = { version = "18.0.0", default-features = false, features = ["tls", "http", "ws", "ipc", "arbitrary_precision"] }
default = http, tls, ws

These default features are set whenever jsonrpc-client-transports is added without default-features = false somewhere in the dependency tree.

tls default = http, hyper-tls
http default tls = hyper

Enables full of tokio

tokio:

enable everything

Affects transports::http

ws default = tokio, websocket

Enables compat of futures

Affects transports::ws

ipc = jsonrpc-server-utils, parity-tokio-ipc, tokio

Affects transports::ipc

arbitrary_precision

Enables arbitrary_precision of jsonrpc-core and serde_json

serde_json:

Use an arbitrary precision number representation for serde_json::Number. This allows JSON numbers of arbitrary size/precision to be read into a Number and written back to a JSON string without loss of precision.

Unlike float_roundtrip, this feature makes JSON -> serde_json::Number -> JSON produce output identical to the input.

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

hyper http

Enables hyper ^0.14

hyper-tls tls

Enables hyper-tls ^0.5

jsonrpc-server-utils ipc?
parity-tokio-ipc ipc?
tokio http ipc? ws
websocket ws

Enables websocket ^0.24