# 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" name = "karyon_jsonrpc" version = "0.1.6" authors = ["hozan23 "] description = "A fast and lightweight async JSONRPC2.0 implementation." homepage = "https://karyontech.net" readme = "README.md" license = "GPL-3.0" repository = "https://github.com/karyontech/karyon" [dependencies.async-channel] version = "2.3.1" [dependencies.async-trait] version = "0.1.80" [dependencies.async-tungstenite] version = "0.26.2" optional = true default-features = false [dependencies.karyon_core] version = "0.1.6" default-features = false [dependencies.karyon_jsonrpc_macro] version = "0.1.6" default-features = false [dependencies.karyon_net] version = "0.1.6" default-features = false [dependencies.log] version = "0.4.21" [dependencies.rand] version = "0.8.5" [dependencies.serde] version = "1.0.203" features = ["derive"] [dependencies.serde_json] version = "1.0.117" [dependencies.thiserror] version = "1.0.61" [dev-dependencies.env_logger] version = "0.11.3" [dev-dependencies.smol] version = "2.0.0" [features] default = [ "smol", "tcp", "unix", ] smol = [ "karyon_core/smol", "karyon_net/smol", "karyon_jsonrpc_macro/smol", "async-tungstenite?/async-std-runtime", ] tcp = ["karyon_net/tcp"] tls = [ "tcp", "karyon_net/tls", ] tokio = [ "karyon_core/tokio", "karyon_net/tokio", "karyon_jsonrpc_macro/tokio", "async-tungstenite?/tokio-runtime", ] unix = ["karyon_net/unix"] ws = [ "tcp", "karyon_net/ws", "async-tungstenite", ]