--- a/rust/hedgewars-server/src/utils.rs Mon Jan 31 18:24:49 2022 +0300
+++ b/rust/hedgewars-server/src/utils.rs Tue Feb 01 02:23:35 2022 +0300
@@ -1,12 +1,8 @@
use base64::encode;
-use mio;
use std::iter::Iterator;
pub const SERVER_VERSION: u32 = 3;
pub const SERVER_MESSAGE: &str = &"Hedgewars server https://www.hedgewars.org/";
-pub const SERVER_TOKEN: mio::Token = mio::Token(1_000_000_000);
-pub const SECURE_SERVER_TOKEN: mio::Token = mio::Token(1_000_000_001);
-pub const IO_TOKEN: mio::Token = mio::Token(1_000_000_003);
pub fn is_name_illegal(name: &str) -> bool {
name.len() > 40