diff --git a/bevy_matchbox/examples/hello_host.rs b/bevy_matchbox/examples/hello_host.rs index 8d51a793..27170b3f 100644 --- a/bevy_matchbox/examples/hello_host.rs +++ b/bevy_matchbox/examples/hello_host.rs @@ -1,10 +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 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"] }``` +//! +//! 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 0f8f1766..4073e678 100644 --- a/bevy_matchbox/examples/hello_signaling.rs +++ b/bevy_matchbox/examples/hello_signaling.rs @@ -1,9 +1,12 @@ //! 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"] }``` +//! +//! 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::*};