[package] name = "karyon_jsonrpc" description = "A fast and lightweight async JSONRPC2.0 implementation." version.workspace = true edition.workspace = true homepage.workspace = true repository.workspace = true license.workspace = true authors.workspace = true readme = "README.md" [features] default = ["smol", "tcp", "unix"] tcp = ["karyon_net/tcp"] tls = ["tcp", "karyon_net/tls"] ws = ["tcp", "karyon_net/ws", "async-tungstenite"] unix = ["karyon_net/unix"] smol = [ "karyon_core/smol", "karyon_net/smol", "karyon_jsonrpc_macro/smol", "async-tungstenite?/async-std-runtime", ] tokio = [ "karyon_core/tokio", "karyon_net/tokio", "karyon_jsonrpc_macro/tokio", "async-tungstenite?/tokio-runtime", ] [dependencies] karyon_core = { version = "0.1.4", path = "../core", default-features = false } karyon_net = { version = "0.1.4", path = "../net", default-features = false } karyon_jsonrpc_macro = { version = "0.1.4", path = "jsonrpc_macro", default-features = false } log = "0.4.21" rand = "0.8.5" serde = { version = "1.0.197", features = ["derive"] } serde_json = "1.0.114" thiserror = "1.0.58" async-trait = "0.1.77" async-channel = "2.3.1" async-tungstenite = { version = "0.25.0", default-features = false, optional = true } [dev-dependencies] env_logger = "0.11.3" smol = "2.0.0"