From ba7d6a842cb4d61357b588fb2d3ec552c654ae64 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Tue, 8 Jan 2019 23:18:32 -0800 Subject: huge refactor of rust modules/files Taking advantage of new Rust 2018 crate/module path changes, and re-organizing things. Somewhat optimistic this could help with partial rebuild speed also. --- rust/tests/test_api_server_http.rs | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'rust/tests/test_api_server_http.rs') diff --git a/rust/tests/test_api_server_http.rs b/rust/tests/test_api_server_http.rs index f84e7e1f..2ea01658 100644 --- a/rust/tests/test_api_server_http.rs +++ b/rust/tests/test_api_server_http.rs @@ -6,16 +6,10 @@ * test basic serialization/deserialization, and take advantage of hard-coded example entities. */ -extern crate diesel; -extern crate fatcat; -extern crate fatcat_api_spec; -extern crate iron; -extern crate iron_test; -extern crate uuid; - use diesel::prelude::*; -use fatcat::api_helpers::*; use fatcat::database_schema::*; +use fatcat::editing::get_or_create_editgroup; +use fatcat::identifiers::*; use iron::status; use iron_test::request; use uuid::Uuid; -- cgit v1.2.3