Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "runecast-protocol"
version = "0.19.0"
version = "0.19.1"
edition = "2021"
description = "Protocol definitions for RuneCast WebSocket communication"

Expand Down
7 changes: 5 additions & 2 deletions src/protocol/server_messages.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ use super::types::{
AdminGameInfo, AdventureEventKind, CustomMeta, DebugBackendGameState, DebugHandlerGameState,
DebugLobbyState, DebugPlayerInfo, DebugWebsocketContext, ErrorCode, GameChange, GameConfig,
GamePlayerInfo, GameSnapshot, Grid, LobbyChange, LobbyGameInfo, LobbyPlayerInfo, LobbyType,
NewsItemPayload, NewsNotificationType, PlayerInfo, Position, RematchCountdownState,
RuneBoxStanding, ScoreInfo, SpectatorInfo, TimerVoteState,
NewsItemPayload, PlayerInfo, Position, RematchCountdownState, RuneBoxStanding, ScoreInfo,
SpectatorInfo, TimerVoteState,
};

/// Messages sent from server to client.
Expand Down Expand Up @@ -839,6 +839,9 @@ fn default_max_players() -> u8 {
#[cfg(test)]
mod tests {
use super::*;
// Test-only: the lib build has no other use of this, so importing it at
// module scope makes it an unused import outside `cfg(test)`.
use crate::protocol::types::NewsNotificationType;
use crate::protocol::{types, GameType};

#[test]
Expand Down
Loading