[package]
name = "wayvr-ipc"
version = "0.1.0"
edition = "2024"
description = "IPC for controlling WayVR"
license = "MIT"
authors = ["galister", "oo8dev"]
repository = "https://github.com/wlx-team/wayvr"

[dependencies]
bytes = "1.9.0"
smallvec = "1.13.2"
serde.workspace = true
anyhow = "1.0.93"
log = "0.4.22"

# client-only deps
interprocess = { version = "2.2.2", features = ["tokio"], optional = true }
tokio = { version = "1.43.1", features = ["macros"], optional = true }
tokio-util = { version = "0.7.13", optional = true }
serde_json.workspace = true

[features]
default = ["client"]
client = ["dep:tokio", "dep:tokio-util", "dep:interprocess"]
