From a207c60ff756b9d591a56ca2814171dfa41e1a08 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Thu, 5 Sep 2019 23:00:33 -0700 Subject: update missing rust crate names --- rust/src/bin/fatcat-auth.rs | 2 +- rust/src/bin/fatcat-export.rs | 2 +- rust/src/bin/fatcatd.rs | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'rust/src') diff --git a/rust/src/bin/fatcat-auth.rs b/rust/src/bin/fatcat-auth.rs index de9ade15..0b5c05b0 100644 --- a/rust/src/bin/fatcat-auth.rs +++ b/rust/src/bin/fatcat-auth.rs @@ -6,7 +6,7 @@ use fatcat::editing_crud::EditorCrud; use fatcat::errors::Result; use fatcat::identifiers::FatcatId; use fatcat::{auth, server}; -use fatcat_api_spec::models::Editor; +use fatcat_openapi::models::Editor; use std::process; use std::str::FromStr; diff --git a/rust/src/bin/fatcat-export.rs b/rust/src/bin/fatcat-export.rs index 6d2d396c..f52c7d17 100644 --- a/rust/src/bin/fatcat-export.rs +++ b/rust/src/bin/fatcat-export.rs @@ -16,7 +16,7 @@ use fatcat::entity_crud::*; use fatcat::errors::Result; use fatcat::identifiers::FatcatId; use fatcat::server::{self, DbConn}; -use fatcat_api_spec::models::*; +use fatcat_openapi::models::*; use std::str::FromStr; use uuid::Uuid; diff --git a/rust/src/bin/fatcatd.rs b/rust/src/bin/fatcatd.rs index 2c8614c2..67ec3123 100644 --- a/rust/src/bin/fatcatd.rs +++ b/rust/src/bin/fatcatd.rs @@ -104,7 +104,7 @@ fn main() -> Result<()> { .keys() .collect::>(), ); - let mut router = fatcat_api_spec::router(server); + let mut router = fatcat_openapi::router(server); router.get("/", root_handler, "root-redirect"); router.get("/swagger-ui", swaggerui_handler, "swagger-ui-html"); @@ -140,7 +140,7 @@ fn main() -> Result<()> { let mut chain = Chain::new(LoggerMiddleware::new(router, logger, formatter)); // authentication - chain.link_before(fatcat_api_spec::server::ExtractAuthData); + chain.link_before(fatcat_openapi::server::ExtractAuthData); chain.link_before(fatcat::auth::MacaroonAuthMiddleware::new()); chain.link_after(XClacksOverheadMiddleware); -- cgit v1.2.3