diff --git a/bevy_matchbox/examples/hello_host.rs b/bevy_matchbox/examples/hello_host.rs index 056c3d2b..8d51a793 100644 --- a/bevy_matchbox/examples/hello_host.rs +++ b/bevy_matchbox/examples/hello_host.rs @@ -1,6 +1,10 @@ //! 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 ensure your project cargo.toml file has been updated with +//! the appropriate dependencies. When building a signaling server, enable the `signaling` feature: +//! ```toml bevy_matchbox = { version = "0.n", 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..0f8f1766 100644 --- a/bevy_matchbox/examples/hello_signaling.rs +++ b/bevy_matchbox/examples/hello_signaling.rs @@ -1,5 +1,9 @@ //! Runs a signaling server with server/client topology as a headless bevy //! application. +//! +//! Note: When building a signaling server ensure your project cargo.toml file has been updated with +//! the appropriate dependencies. When building a signaling server, enable the `signaling` feature: +//! ```toml bevy_matchbox = { version = "0.n", features = ["signaling"] }``` use bevy::{app::ScheduleRunnerPlugin, log::LogPlugin, prelude::*, utils::Duration}; use bevy_matchbox::{matchbox_signaling::SignalingServer, prelude::*};