Some reordering

This commit is contained in:
CosminPerRam 2022-11-24 22:58:34 +02:00
parent ee0223a7a3
commit b988b51cff
2 changed files with 1 additions and 3 deletions

View file

@ -44,9 +44,9 @@ fn main() -> GDResult<()> {
"dod" => println!("{:?}", dod::query(ip, port)?),
"mc" => println!("{:?}", mc::query(ip, port)?),
"mc_java" => println!("{:?}", mc::query_specific(Server::Java, ip, port)?),
"mc_legacy_vb1_8" => println!("{:?}", mc::query_specific(Server::Legacy(LegacyGroup::VB1_8), ip, port)?),
"mc_legacy_v1_4" => println!("{:?}", mc::query_specific(Server::Legacy(LegacyGroup::V1_4), ip, port)?),
"mc_legacy_v1_6" => println!("{:?}", mc::query_specific(Server::Legacy(LegacyGroup::V1_6), ip, port)?),
"mc_legacy_vb1_8" => println!("{:?}", mc::query_specific(Server::Legacy(LegacyGroup::VB1_8), ip, port)?),
"_src" => println!("{:?}", valve::query(ip, 27015, App::Source(None), None, None)?),
"_gld" => println!("{:?}", valve::query(ip, 27015, App::GoldSrc(false), None, None)?),
"_gld_f" => println!("{:?}", valve::query(ip, 27015, App::GoldSrc(true), None, None)?),

View file

@ -15,8 +15,6 @@
//! }
//! ```
extern crate core;
pub mod errors;
pub mod protocols;
pub mod games;