[package]
name = "callwire"
version = "2.2.0"
edition = "2021"
rust-version = "1.85"
description = "High-performance bidirectional RPC over TCP with MessagePack framing — Go, Python, Rust interop"
license = "MIT"
repository = "https://github.com/emaad/callwire"
homepage = "https://github.com/emaad/callwire"
documentation = "https://docs.rs/callwire"
readme = "../README.md"
keywords = ["rpc", "msgpack", "ipc", "async", "tls"]
categories = ["network-programming", "asynchronous", "encoding"]
exclude = ["tests/*", "examples/*", "target/*"]
[lib]
name = "callwire"
path = "src/lib.rs"
[[bin]]
name = "callwire"
path = "src/bin/callwire.rs"
[[example]]
name = "cross_lang_server"
path = "examples/cross_lang_server.rs"
[[example]]
name = "cross_lang_client"
path = "examples/cross_lang_client.rs"
[dependencies]
serde = { version = "1.0", features = ["derive"] }
rmp-serde = "1.1"
rmpv = { version = "1.0", features = ["with-serde"] }
tokio = { version = "1.32", features = ["full"] }
thiserror = "2.0"
futures-util = "0.3"
bytes = "1.5"
tokio-rustls = "0.25"
rustls = "0.22"
rustls-pemfile = "2"
toml = "0.8.1"
anyhow = "1"
libc = "0.2"
[dev-dependencies]
tokio-test = "0.4"
rcgen = "0.14.8"
criterion = { version = "0.8", features = ["async_tokio"] }
[[bench]]
name = "bench"
harness = false