Skip to content

Commit 5587951

Browse files
committed
flatten /common to root dir
1 parent 38a2bce commit 5587951

5 files changed

Lines changed: 9 additions & 10 deletions

File tree

src/common/mod.rs

Lines changed: 0 additions & 3 deletions
This file was deleted.
File renamed without changes.

src/lib.rs

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,21 @@
44
//! Query QuakeWorld servers for settings and client information.
55
66
// internal
7-
mod common;
87
mod game_server;
98
mod generic_server;
9+
mod geo;
1010
mod net;
1111
mod proxy_server;
1212
mod qtv_server;
1313
mod server;
14+
mod server_type;
15+
mod software_type;
1416

1517
// public api
16-
pub use common::geo::{Coords, GeoInfo};
17-
pub use common::server_type::ServerType;
18-
pub use common::software_type::SoftwareType;
18+
pub use geo::{Coords, GeoInfo};
19+
pub use server::Server;
20+
pub use server_type::ServerType;
21+
pub use software_type::SoftwareType;
1922

2023
pub use generic_server::client::GenericClient;
2124
pub use generic_server::server::GenericServer;
@@ -26,13 +29,12 @@ pub use game_server::server::GameServer;
2629
pub use game_server::spectator::Spectator;
2730
pub use game_server::team::Team;
2831

32+
pub use net::query::{QueryError, serverinfo};
33+
2934
pub use proxy_server::client::ProxyClient;
3035
pub use proxy_server::server::ProxyServer;
3136
pub use proxy_server::settings::ProxySettings;
3237

33-
pub use net::query::{QueryError, serverinfo};
34-
pub use server::Server;
35-
3638
pub use qtv_server::client::QtvClient;
3739
pub use qtv_server::server::QtvServer;
3840
pub use qtv_server::settings::QtvSettings;

0 commit comments

Comments
 (0)