whisker-dev-runtime 0.2.4

Development-only runtime: WebSocket client + hot-reload patch receiver.
Documentation
//! Development-only runtime extensions for Whisker.
//!
//! Compiled into Whisker apps only when the umbrella crate is built
//! with `--features hot-reload`. Release builds end up with an empty
//! crate (no tokio / no WebSocket / no subsecond).
//!
//! ## What lives here
//! - [`hot_reload`]: WebSocket *client* that connects to the
//!   `whisker run` dev server, deserialises incoming `subsecond::JumpTable`
//!   messages, and parks them on a single-slot mutex. The Lynx TASM
//!   thread drains the mutex at the top of every tick and invokes
//!   `subsecond::apply_patch`.

#[cfg(feature = "hot-reload")]
pub mod hot_reload;

#[cfg(feature = "hot-reload")]
pub mod log_capture;

#[cfg(feature = "hot-reload")]
pub use hot_reload::{devlog, start_receiver, take_pending_patch};

#[cfg(feature = "hot-reload")]
pub use log_capture::start_log_capture;