diff options
author | Alex Auvolat <alex@adnab.me> | 2020-04-18 19:39:08 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2020-04-18 19:39:57 +0200 |
commit | 4ba54ccfca2ff8e56c58d0a652de256428282490 (patch) | |
tree | d98bc1bcb565bff4d018b252f5f1397253f9f697 /src/api_server.rs | |
parent | bd1618e78e4c4305a73bdd40004de2abe46c3ceb (diff) | |
download | garage-4ba54ccfca2ff8e56c58d0a652de256428282490.tar.gz garage-4ba54ccfca2ff8e56c58d0a652de256428282490.zip |
Reorder imports.
Trying to separate:
1. Stuff for handling the swarm of nodes and generic table data replication
2. Stuff for the object store core application: metadata tables and block management
3. Stuff for the S3 API
Diffstat (limited to 'src/api_server.rs')
-rw-r--r-- | src/api_server.rs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/api_server.rs b/src/api_server.rs index 14c58fc4..4070be6c 100644 --- a/src/api_server.rs +++ b/src/api_server.rs @@ -9,14 +9,15 @@ use hyper::server::conn::AddrStream; use hyper::service::{make_service_fn, service_fn}; use hyper::{Body, Method, Request, Response, Server, StatusCode}; -use crate::block::INLINE_THRESHOLD; -use crate::block_ref_table::*; use crate::data::*; use crate::error::Error; use crate::http_util::*; +use crate::table::EmptySortKey; + +use crate::block::INLINE_THRESHOLD; +use crate::block_ref_table::*; use crate::object_table::*; use crate::server::Garage; -use crate::table::EmptySortKey; use crate::version_table::*; type BodyType = Box<dyn HttpBody<Data = Bytes, Error = Error> + Send + Unpin>; |