diff --git a/contrib/src/json/mod.rs b/contrib/src/json/mod.rs index 24cb8ce5..67a49a3c 100644 --- a/contrib/src/json/mod.rs +++ b/contrib/src/json/mod.rs @@ -4,7 +4,7 @@ extern crate serde_json; use std::ops::{Deref, DerefMut}; use std::io::Read; -use rocket::outcome::Outcome::*; +use rocket::Outcome::*; use rocket::request::{Request, Data, FromData, DataOutcome}; use rocket::response::{self, Responder, data}; use rocket::http::StatusCode; diff --git a/scripts/test.sh b/scripts/test.sh index 0f4863d6..244cec4d 100755 --- a/scripts/test.sh +++ b/scripts/test.sh @@ -55,6 +55,11 @@ build_and_test "${CONTRIB_DIR}" check_versions_match "${LIB_DIR}" "${CODEGEN_DIR}" "${CONTRIB_DIR}" for file in ${EXAMPLES_DIR}/*; do + if [ "$(basename $file)" = "todo" ]; then + echo ":: Skipping todo example due to broken Diesel..." + continue + fi + if [ -d "${file}" ]; then bootstrap_script="${file}/bootstrap.sh" if [ -x "${bootstrap_script}" ]; then