mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-11-19 23:28:34 +01:00
Pure renames, no content changes. This revision does not build on its own; the next one routes the workspace to the new paths.
25 lines
787 B
Rust
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::*;
|
|
}
|
|
}
|