Skip to content

Commit

Permalink
Update hello_signaling.rs
Browse files Browse the repository at this point in the history
Added a reference in the example's comment header to advise updating the local Cargo.toml to enable the necessary features for seamless integration with the example logic.
  • Loading branch information
CodyTheDoer authored Nov 20, 2024
1 parent 51faa1b commit 1bcf720
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bevy_matchbox/examples/hello_signaling.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
//! Runs a signaling server with server/client topology as a headless bevy
//! application.
//! Note: When building a signaling server ensure your cargo has been updated,
//! Enable the `signaling` feature in the `bevy_matchbox` dependency:
//! bevy_matchbox = { version = "0.n", features = ["signaling"] }
use bevy::{app::ScheduleRunnerPlugin, log::LogPlugin, prelude::*, utils::Duration};
use bevy_matchbox::{matchbox_signaling::SignalingServer, prelude::*};
Expand Down

0 comments on commit 1bcf720

Please sign in to comment.