bmux_windows_plugin_api 0.0.1-alpha.1

Typed public API of the bmux windows plugin (BPDL-generated bindings)
//! Typed public API of the bmux windows plugin.
//!
//! This crate is the stable contract other plugins depend on. The
//! [`windows_state`], [`windows_commands`], and [`windows_events`]
//! modules are generated from `bpdl/windows-plugin.bpdl` at compile time
//! via the [`bmux_plugin_schema_macros::schema!`] macro.
//!
//! Consumers pattern:
//!
//! ```ignore
//! use bmux_windows_plugin_api::windows_state::WindowsStateService;
//!
//! fn somewhere(state: &dyn WindowsStateService, id: uuid::Uuid) {
//!     let focused = state.focused_pane(id);
//!     // ...
//! }
//! ```

#![cfg_attr(feature = "fail-on-warnings", deny(warnings))]
#![warn(clippy::all, clippy::pedantic)]
#![allow(clippy::module_name_repetitions)]
// BPDL-generated command methods mirror wire records; rich commands like
// create-floating-pane naturally exceed clippy's argument-count heuristic.
#![allow(clippy::too_many_arguments)]

bmux_plugin_schema_macros::schema! {
    source: "bpdl/windows-plugin.bpdl",
}