[package]
edition = "2021"
name = "zwire-host"
version = "0.3.2"
authors = ["MenkeTechnologies"]
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Universal local host: system stats, filesystem, exec, PTY & kv store, reachable from Chrome native-messaging or a Unix-socket JSON daemon"
homepage = "https://menketechnologies.github.io/zwire-host/"
documentation = "https://docs.rs/zwire-host"
readme = "README.md"
keywords = [
"native-messaging",
"ipc",
"pty",
"sysinfo",
"daemon",
]
categories = [
"command-line-utilities",
"os",
]
license = "MIT"
repository = "https://github.com/MenkeTechnologies/zwire-host"
[features]
default = [
"sysinfo-caps",
"pty",
]
pty = ["dep:portable-pty"]
sysinfo-caps = ["dep:sysinfo"]
[lib]
name = "zwire_host"
path = "src/lib.rs"
[[bin]]
name = "zwire-host"
path = "src/main.rs"
[[test]]
name = "protocol"
path = "tests/protocol.rs"
[dependencies.base64]
version = "0.22"
[dependencies.portable-pty]
version = "0.9.0"
optional = true
[dependencies.serde_json]
version = "1"
[dependencies.sysinfo]
version = "0.33"
optional = true
[dev-dependencies.serde_json]
version = "1"
[target."cfg(windows)".dependencies.interprocess]
version = "2"
[profile.release]
opt-level = "z"
lto = true
codegen-units = 1
panic = "abort"
strip = true