i3ipc-types

Rust library with types for i3 window manager communication via IPC

cargomacoslinuxwindows
Try with needOr install directly
Source

About

Library containing all the types needed to communicate with i3, along with their serde implementations and implementations of many std traits

Examples

check i3 window manager types in rust project$ cargo add i3ipc-types
serialize i3 response data structures$ use i3ipc_types::{Reply, Event}; // import in Cargo.toml
deserialize json from i3 ipc socket$ let reply: i3ipc_types::Reply = serde_json::from_str(json_data)?
work with i3 window events in rust$ use i3ipc_types::Event; // available in library