wayray/crates/wayray-protocol/Cargo.toml
Till Wegmueller 70859175c0 Add doors IPC transport for illumos, simplify client binaries
Add platform-aware IPC transport layer for the launcher protocol:

- transport module: send_request_sync() auto-selects doors (illumos)
  or Unix sockets (Linux) at compile time
- doors_transport: uses doors::Client for high-speed synchronous RPC,
  gated behind cfg(target_os = "illumos") + "doors" feature flag
- unix_transport: blocking Unix socket client for all platforms

Simplify client binaries to use the sync transport:
- wradm: drops tokio dependency entirely, now fully synchronous
- wrlogin: drops tokio dependency, uses sync transport
- wrsessd: uses shared default_ipc_path() for consistency

The doors crate (0.8.1) is an optional illumos-only dependency.
On Linux, all code compiles and tests pass with Unix socket transport.
2026-04-09 22:21:14 +02:00

21 lines
423 B
TOML

[package]
name = "wayray-protocol"
edition.workspace = true
version.workspace = true
license.workspace = true
[features]
default = []
doors = ["dep:doors"]
[dependencies]
serde.workspace = true
postcard.workspace = true
thiserror.workspace = true
tracing.workspace = true
zstd.workspace = true
toml = "0.8"
serde_json = "1"
[target.'cfg(target_os = "illumos")'.dependencies]
doors = { version = "0.8", optional = true }