Cargo Features

[dependencies]
karyon_jsonrpc = { version = "0.1.6", default-features = false, features = ["tcp", "tls", "ws", "unix", "smol", "tokio"] }
default = smol, tcp, unix

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

tcp default tls? ws?

Enables tcp of karyon_net

tls = tcp

Enables tls of karyon_net

ws = async-tungstenite, tcp

Enables ws of karyon_net

Affects codec::WsJsonCodec

unix default

Enables unix of karyon_net

smol default

Enables smol of karyon_core, karyon_jsonrpc_macro, and karyon_net and async-std-runtime of optional async-tungstenite ^0.26.2

websocket

tokio

Enables tokio of karyon_core, karyon_jsonrpc_macro, and karyon_net, tokio-runtime of optional async-tungstenite ^0.26.2

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.

async-tungstenite ws?

Enables async-tungstenite ^0.26.2