move src/api/server.rs -> src/server/rest.rs

This commit is contained in:
Dietmar Maurer 2018-12-05 10:16:23 +01:00
parent e4dc0a14ac
commit 083418619e
3 changed files with 6 additions and 2 deletions

View File

@ -5,7 +5,7 @@ use std::sync::Arc;
use apitest::api::schema::*; use apitest::api::schema::*;
use apitest::api::router::*; use apitest::api::router::*;
use apitest::api::config::*; use apitest::api::config::*;
use apitest::api::server::*; use apitest::server::rest::*;
use apitest::getopts; use apitest::getopts;
//use failure::*; //use failure::*;

View File

@ -19,7 +19,11 @@ pub mod api {
#[macro_use] #[macro_use]
pub mod router; pub mod router;
pub mod config; pub mod config;
pub mod server; }
pub mod server {
pub mod rest;
} }