diff --git a/bevy_matchbox/examples/hello_host.rs b/bevy_matchbox/examples/hello_host.rs index 056c3d2b..27170b3f 100644 --- a/bevy_matchbox/examples/hello_host.rs +++ b/bevy_matchbox/examples/hello_host.rs @@ -1,6 +1,13 @@ //! Runs both signaling with server/client topology and runs the host in the same process //! //! Sends messages periodically to all connected clients. +//! +//! Note: When building a signaling server make sure you depend on +//! `bevy_matchbox` with the `signaling` feature enabled. +//! +//! ```toml +//! bevy_matchbox = { version = "0.x", features = ["signaling"] } +//! ``` use bevy::{ app::ScheduleRunnerPlugin, log::LogPlugin, prelude::*, time::common_conditions::on_timer, diff --git a/bevy_matchbox/examples/hello_signaling.rs b/bevy_matchbox/examples/hello_signaling.rs index 7126f3b3..4073e678 100644 --- a/bevy_matchbox/examples/hello_signaling.rs +++ b/bevy_matchbox/examples/hello_signaling.rs @@ -1,5 +1,12 @@ //! Runs a signaling server with server/client topology as a headless bevy //! application. +//! +//! Note: When building a signaling server make sure you depend on +//! `bevy_matchbox` with the `signaling` feature enabled. +//! +//! ```toml +//! bevy_matchbox = { version = "0.x", features = ["signaling"] } +//! ``` use bevy::{app::ScheduleRunnerPlugin, log::LogPlugin, prelude::*, utils::Duration}; use bevy_matchbox::{matchbox_signaling::SignalingServer, prelude::*};