gameServer2/src/protocol/parser.rs
changeset 13805 0463a4221327
parent 13801 5fb40c8e5542
child 14350 31717e1436cd
equal deleted inserted replaced
13804:201d86010a8b 13805:0463a4221327
    15 };
    15 };
    16 use super::{
    16 use super::{
    17     messages::{HWProtocolMessage, HWProtocolMessage::*}
    17     messages::{HWProtocolMessage, HWProtocolMessage::*}
    18 };
    18 };
    19 #[cfg(test)]
    19 #[cfg(test)]
    20 use super::test::gen_proto_msg;
    20 use {
       
    21     super::test::gen_proto_msg,
       
    22     proptest::{proptest, proptest_helper}
       
    23 };
    21 use crate::server::coretypes::{
    24 use crate::server::coretypes::{
    22     HedgehogInfo, TeamInfo, GameCfg, VoteType, MAX_HEDGEHOGS_PER_TEAM
    25     HedgehogInfo, TeamInfo, GameCfg, VoteType, MAX_HEDGEHOGS_PER_TEAM
    23 };
    26 };
    24 
    27 
    25 named!(end_of_message, tag!("\n\n"));
    28 named!(end_of_message, tag!("\n\n"));