From 083418619e04800339ec03e0a2a48f1b5bbd3585 Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Wed, 5 Dec 2018 10:16:23 +0100 Subject: [PATCH] move src/api/server.rs -> src/server/rest.rs --- src/bin/api-test-server.rs | 2 +- src/lib.rs | 6 +++++- src/{api/server.rs => server/rest.rs} | 0 3 files changed, 6 insertions(+), 2 deletions(-) rename src/{api/server.rs => server/rest.rs} (100%) diff --git a/src/bin/api-test-server.rs b/src/bin/api-test-server.rs index 67e83c09..0c0b199b 100644 --- a/src/bin/api-test-server.rs +++ b/src/bin/api-test-server.rs @@ -5,7 +5,7 @@ use std::sync::Arc; use apitest::api::schema::*; use apitest::api::router::*; use apitest::api::config::*; -use apitest::api::server::*; +use apitest::server::rest::*; use apitest::getopts; //use failure::*; diff --git a/src/lib.rs b/src/lib.rs index 2a325225..98bf505a 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -19,7 +19,11 @@ pub mod api { #[macro_use] pub mod router; pub mod config; - pub mod server; +} + +pub mod server { + + pub mod rest; } diff --git a/src/api/server.rs b/src/server/rest.rs similarity index 100% rename from src/api/server.rs rename to src/server/rest.rs