Files
komorebi/crates/komorebi-client/src/lib.rs
T
LGUG2Z 6def6bdfbf refactor(layout): move library and dev-tool crates under crates/, rename komorebi-daemon to komorebi
Pure renames, no content changes. This revision does not build on its own;
the next one routes the workspace to the new paths.
2026-11-05 15:03:27 -08:00

25 lines
787 B
Rust

#![warn(clippy::all)]
#![allow(clippy::missing_errors_doc)]
//! The client of the komorebi daemon, for Windows, KDE Plasma and macOS: one crate, with the module
//! of the target OS re-exported at its root. The functions that talk to the daemon's socket and the
//! types they send are the same in the three modules; what differs is the daemon crate they
//! re-export from and the socket type (`uds_windows` on Windows, `std::os::unix` elsewhere).
cfg_select! {
target_os = "windows" => {
mod windows;
pub use windows::*;
}
target_os = "linux" => {
extern crate komorebi_linux;
mod linux;
pub use linux::*;
}
target_os = "macos" => {
extern crate komorebi_macos;
mod macos;
pub use macos::*;
}
}