We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8f8a64f commit 24c5e69Copy full SHA for 24c5e69
examples/chat/src/network.rs
@@ -17,7 +17,7 @@ pub mod types;
17
18
use client::NetworkClient;
19
20
-const PROTOCOL_VERSION: &str = concat!("/", "boot-node", "/", "0.5.0");
+const PROTOCOL_VERSION: &str = concat!("/", env!("CARGO_PKG_NAME"), "/", env!("CARGO_PKG_VERSION"));
21
22
#[derive(NetworkBehaviour)]
23
struct Behaviour {
0 commit comments