# 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 = "rpc-it" version = "0.10.0-alpha.1" authors = ["kang-sw "] exclude = ["doc/"] description = "RPC library for my own demand." license = "MIT" repository = "https://github.com/kang-sw/rpc-it-rs" [dependencies.anyhow] version = "1.0.79" optional = true [dependencies.assert] version = "1.1.0" package = "static_assertions" [dependencies.bytes] version = "1.4.0" [dependencies.crossbeam-queue] version = "0.3" optional = true [dependencies.erased-serde] version = "0.4" optional = true [dependencies.futures] version = "0.3" [dependencies.hashbrown] version = "0.14.3" [dependencies.mpsc] version = "2" package = "async-channel" [dependencies.parking_lot] version = "0.12.1" [dependencies.postcard] version = "1" optional = true [dependencies.rand] version = "0.8" [dependencies.rmp] version = "0.8" optional = true [dependencies.rmp-serde] version = "1" optional = true [dependencies.rpc-it-macros] version = "0.10.0-alpha.1" optional = true default-features = false [dependencies.serde] version = "1.0" [dependencies.serde_json] version = "1" features = ["raw_value"] optional = true [dependencies.thiserror] version = "1" [dev-dependencies.anyhow] version = "1.0.79" [dev-dependencies.enum-as-inner] version = "0.6.0" [dev-dependencies.serde] version = "1.0" features = ["derive"] [dev-dependencies.tap] version = "1.0.1" [features] default = [ "proc-macro", "detailed-parse-errors", ] detailed-parse-errors = ["dep:anyhow"] dynamic-codec = ["dep:erased-serde"] full = [ "jsonrpc", "msgpack-rpc", "dynamic-codec", "in-memory-io", "rawrpc", ] in-memory-io = ["dep:crossbeam-queue"] jsonrpc = ["dep:serde_json"] msgpack-rpc = [ "dep:rmp", "dep:rmp-serde", ] proc-macro = ["dep:rpc-it-macros"] rawrpc = ["dep:postcard"]