[package]
edition = "2021"
rust-version = "1.91"
name = "plana-dispatch-client"
version = "0.1.0"
authors = ["langyo <langyo.china@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Broker dispatch client for the terminal command routing contract: request envelope, idempotency window, Unix-socket transport, error classification and target-scope guarding."
readme = false
keywords = [
"evernight",
"json-rpc",
"terminal",
"ipc",
]
categories = [
"api-bindings",
"network-programming",
]
license-file = "LICENSE"
repository = "https://github.com/celestia-island/plana"
[package.metadata.docs.rs]
all-features = true
[features]
default = []
ws = ["dep:tokio-tungstenite"]
[lib]
name = "plana_dispatch_client"
path = "src/lib.rs"
[dependencies.async-trait]
version = "^0.1"
[dependencies.hex]
version = "^0.4"
[dependencies.plana]
version = "0.2.1"
[dependencies.serde]
version = "^1"
features = ["derive"]
[dependencies.serde_json]
version = "^1"
[dependencies.sha2]
version = "^0.10"
[dependencies.thiserror]
version = "^2"
[dependencies.tokio]
version = "^1"
features = [
"rt",
"rt-multi-thread",
"macros",
"time",
"net",
"io-util",
"fs",
"sync",
"signal",
"process",
]
[dependencies.tokio-tungstenite]
version = "^0.30"
optional = true
[dependencies.uuid]
version = "^1"
features = [
"v3",
"v4",
"v5",
"v7",
"serde",
]
[dev-dependencies.tempfile]
version = "^3"
[lints.clippy]
all = "deny"
[lints.rust]
warnings = "deny"