mirror of
https://github.com/tribufu/rust-gamedig
synced 2026-05-06 15:27:28 +00:00
Some reordering
This commit is contained in:
parent
ee0223a7a3
commit
b988b51cff
2 changed files with 1 additions and 3 deletions
|
|
@ -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)?),
|
||||
|
|
|
|||
|
|
@ -15,8 +15,6 @@
|
|||
//! }
|
||||
//! ```
|
||||
|
||||
extern crate core;
|
||||
|
||||
pub mod errors;
|
||||
pub mod protocols;
|
||||
pub mod games;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue