aboutsummaryrefslogtreecommitdiffstats
path: root/rust/src/api_wrappers.rs
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-09-11 14:49:25 -0700
committerBryan Newbold <bnewbold@robocracy.org>2018-09-11 14:49:25 -0700
commitb9b79a7b7385ba18654d51bc2ca1b5d07f191d0e (patch)
tree3308d41627f67ed5f988016671e57e9b47a992e2 /rust/src/api_wrappers.rs
parent2aef3c1dbf75ae374862a12e6d6a680d9ce78720 (diff)
downloadfatcat-b9b79a7b7385ba18654d51bc2ca1b5d07f191d0e.tar.gz
fatcat-b9b79a7b7385ba18654d51bc2ca1b5d07f191d0e.zip
finish fatcat-api => fatcat-api-spec refactor
Diffstat (limited to 'rust/src/api_wrappers.rs')
-rw-r--r--rust/src/api_wrappers.rs10
1 files changed, 5 insertions, 5 deletions
diff --git a/rust/src/api_wrappers.rs b/rust/src/api_wrappers.rs
index 4d3373e2..3f070593 100644
--- a/rust/src/api_wrappers.rs
+++ b/rust/src/api_wrappers.rs
@@ -6,15 +6,15 @@ use api_server::Server;
use database_models::EntityEditRow;
use diesel::Connection;
use errors::*;
-use fatcat_api::models;
-use fatcat_api::models::*;
-use fatcat_api::*;
+use fatcat_api_spec::models;
+use fatcat_api_spec::models::*;
+use fatcat_api_spec::*;
use futures::{self, Future};
use std::str::FromStr;
/// Helper for generating wrappers (which return "Box::new(futures::done(Ok(BLAH)))" like the
-/// codegen fatcat-api code wants) that call through to actual helpers (which have simple Result<>
-/// return types)
+/// codegen fatcat-api-spec code wants) that call through to actual helpers (which have simple
+/// Result<> return types)
macro_rules! wrap_entity_handlers {
// Would much rather just have entity ident, then generate the other fields from that, but Rust
// stable doesn't have a mechanism to "concat" or generate new identifiers in macros, at least