Fixing compilation without ui feature (#2207)

This commit is contained in:
Tomasz Drwięga 2016-09-21 12:51:49 +02:00 committed by Gav Wood
parent 52a69d19e6
commit df61b1b328

View File

@ -19,11 +19,6 @@ use io::PanicHandler;
use rpc_apis;
use helpers::replace_home;
#[cfg(feature = "dapps")]
pub use ethcore_dapps::Server as WebappServer;
#[cfg(not(feature = "dapps"))]
pub struct WebappServer;
#[derive(Debug, PartialEq, Clone)]
pub struct Configuration {
pub enabled: bool,
@ -77,6 +72,7 @@ pub fn new(configuration: Configuration, deps: Dependencies) -> Result<Option<We
}
pub use self::server::setup_dapps_server;
pub use self::server::WebappServer;
#[cfg(not(feature = "dapps"))]
mod server {