[dependencies.async-net]
optional = true
version = "2.0"
[dependencies.futures-lite]
version = "2.6"
[dependencies.niri-ipc]
version = "25.11.0"
[dependencies.serde_json]
version = "1.0"
[dependencies.tokio]
features = ["io-util", "net"]
optional = true
version = "1.49"
[features]
async-net = ["dep:async-net"]
default = ["async-net"]
tokio = ["dep:tokio"]
[lib]
name = "async_niri_socket"
path = "src/lib.rs"
[package]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["asynchronous", "network-programming"]
description = "Non-blocking communication over the niri socket."
edition = "2024"
keywords = ["async", "network-programming", "niri", "wayland"]
license = "GPL-3.0"
name = "async-niri-socket"
readme = "README.md"
repository = "https://github.com/ZXY595/async-niri-socket"
resolver = "3"
version = "0.0.3"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]