Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Fix no-default-features. #7096

Merged
merged 1 commit into from
Nov 21, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions parity/dapps.rs
Original file line number Diff line number Diff line change
Expand Up @@ -194,9 +194,7 @@ mod server {

pub struct Middleware;
impl RequestMiddleware for Middleware {
fn on_request(
&self, _req: &hyper::server::Request<hyper::net::HttpStream>, _control: &hyper::Control
) -> RequestMiddlewareAction {
fn on_request(&self, _req: hyper::Request) -> RequestMiddlewareAction {
unreachable!()
}
}
Expand Down
4 changes: 4 additions & 0 deletions test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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