diff options
author | Alex Auvolat <alex@adnab.me> | 2020-04-18 19:30:05 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2020-04-18 19:30:05 +0200 |
commit | bd1618e78e4c4305a73bdd40004de2abe46c3ceb (patch) | |
tree | 8d84b73808a3a968941a59672aae398a61f8d5ff /src/api_server.rs | |
parent | f41583e1b731574b4bb13a20d4b3fd9fe3a899f5 (diff) | |
download | garage-bd1618e78e4c4305a73bdd40004de2abe46c3ceb.tar.gz garage-bd1618e78e4c4305a73bdd40004de2abe46c3ceb.zip |
Remove proto.rs & move some definitions out of data.rs
Diffstat (limited to 'src/api_server.rs')
-rw-r--r-- | src/api_server.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/api_server.rs b/src/api_server.rs index f213b4dd..14c58fc4 100644 --- a/src/api_server.rs +++ b/src/api_server.rs @@ -9,11 +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::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>; |