diff --git a/parity/dapps.rs b/parity/dapps.rs index c15b16337..d658f91d3 100644 --- a/parity/dapps.rs +++ b/parity/dapps.rs @@ -194,9 +194,7 @@ mod server { pub struct Middleware; impl RequestMiddleware for Middleware { - fn on_request( - &self, _req: &hyper::server::Request, _control: &hyper::Control - ) -> RequestMiddlewareAction { + fn on_request(&self, _req: hyper::Request) -> RequestMiddlewareAction { unreachable!() } } diff --git a/test.sh b/test.sh index 1613530cb..69204fef2 100755 --- a/test.sh +++ b/test.sh @@ -24,6 +24,10 @@ esac set -e +# Validate chainspecs ./scripts/validate_chainspecs.sh cargo test -j 8 $OPTIONS --features "$FEATURES" --all --exclude evmjit $1 + +# Validate --no-default-features build +cargo check --no-default-features