A Rust library for controlling swaywm through its IPC interface. This library can be used in either a synchronous or asynchronous manner. The async feature can be enabled be adding the following to your Cargo.toml.
toml
[dependencies.swayipc]
features = ["async"]
Examples of how to use the library can be found here.
This library targets the latest stable release of sway.