diff options
author | tom barrett <spalf0@gmail.com> | 2018-04-23 06:25:55 -0500 |
---|---|---|
committer | tom barrett <spalf0@gmail.com> | 2018-04-23 06:25:55 -0500 |
commit | 923e49d29ce2f51df608011db192cbb73e8f7345 (patch) | |
tree | 1813395ed810b3f5a810cb13abd5bf39f94349ef /src/server | |
parent | 7211ed31e5412eb84f8fbf0e3a465305068f1d7c (diff) |
-split up module.rs
Diffstat (limited to 'src/server')
-rw-r--r-- | src/server/connection.rs | 2 | ||||
-rw-r--r-- | src/server/engines.rs | 2 | ||||
-rw-r--r-- | src/server/mining.rs | 3 |
3 files changed, 4 insertions, 3 deletions
diff --git a/src/server/connection.rs b/src/server/connection.rs index a1b808d..fd76661 100644 --- a/src/server/connection.rs +++ b/src/server/connection.rs @@ -6,7 +6,7 @@ use std::net::TcpStream; use std::collections::HashMap; use mass::Mass; -use module::ModuleType; +use modules::types::ModuleType; pub struct ServerConnection { pub name : String, diff --git a/src/server/engines.rs b/src/server/engines.rs index fcce76a..17391e6 100644 --- a/src/server/engines.rs +++ b/src/server/engines.rs @@ -5,7 +5,7 @@ use std::io::BufRead; use std::collections::HashMap; use mass::{Mass, MassType}; -use module::NavigationStatus; +use modules::navigation::NavigationStatus; use server::connection::ServerConnection; impl ServerConnection { diff --git a/src/server/mining.rs b/src/server/mining.rs index c02937a..c5c0ce7 100644 --- a/src/server/mining.rs +++ b/src/server/mining.rs @@ -6,8 +6,9 @@ use std::collections::HashMap; use math::distance; use mass::{Mass, MassType}; +use modules::mining::Mining; +use modules::navigation::Navigation; use server::connection::ServerConnection; -use module::{Navigation, Mining}; #[derive(Serialize, Deserialize, Debug, Clone)] pub struct MiningData { |