Browse Source

protocol: use attr macro_use for crate log

ipv6
Denis Drakhnia 10 months ago
parent
commit
a5dacb1b2e
  1. 1
      protocol/src/filter.rs
  2. 3
      protocol/src/lib.rs
  3. 1
      protocol/src/server.rs

1
protocol/src/filter.rs

@ -34,7 +34,6 @@ use std::net::SocketAddrV4; @@ -34,7 +34,6 @@ use std::net::SocketAddrV4;
use std::str::FromStr;
use bitflags::bitflags;
use log::debug;
use crate::cursor::{Cursor, GetKeyValue, PutKeyValue};
use crate::server::{ServerAdd, ServerFlags, ServerType};

3
protocol/src/lib.rs

@ -5,6 +5,9 @@ @@ -5,6 +5,9 @@
//! Xash3D protocol between clients, servers and masters.
#[macro_use]
extern crate log;
mod cursor;
mod server_info;

1
protocol/src/server.rs

@ -6,7 +6,6 @@ @@ -6,7 +6,6 @@
use std::fmt;
use bitflags::bitflags;
use log::debug;
use super::cursor::{Cursor, CursorMut, GetKeyValue, PutKeyValue};
use super::filter::Version;

Loading…
Cancel
Save