From b3d38a3c859d61eef86f35690e0409f41bcaaf07 Mon Sep 17 00:00:00 2001 From: eauge Date: Fri, 15 Feb 2019 10:11:34 -0800 Subject: [PATCH] remove dependencies --- common/Cargo.toml | 3 --- common/src/confidential/key_manager.rs | 2 +- gateway/Cargo.toml | 12 ------------ 3 files changed, 1 insertion(+), 16 deletions(-) diff --git a/common/Cargo.toml b/common/Cargo.toml index 43f7d2457..2a8edad02 100644 --- a/common/Cargo.toml +++ b/common/Cargo.toml @@ -18,9 +18,6 @@ keccak-hash = { git = "https://github.com/oasislabs/parity", branch = "ekiden" } lazy_static = { version = "1.1.0", features = ["spin_no_std"] } sodalite = "0.3.0" -[target.'cfg(not(target_env = "sgx"))'.dependencies] -rand = "0.4.2" - [dev-dependencies] ekiden-storage-dummy = { git = "https://github.com/oasislabs/ekiden", branch = "master" } diff --git a/common/src/confidential/key_manager.rs b/common/src/confidential/key_manager.rs index a9d86ce17..45d110aac 100644 --- a/common/src/confidential/key_manager.rs +++ b/common/src/confidential/key_manager.rs @@ -41,7 +41,7 @@ impl KeyManagerClient { } } -#[cfg(not(test))] +#[allow(dead_code)] #[derive(Debug)] /// Wrapper around the Ekiden key manager client to provide a more convenient /// Ethereum address based interface along with runtime-specific utility methods. diff --git a/gateway/Cargo.toml b/gateway/Cargo.toml index ce3a77e97..76bd1ccd8 100644 --- a/gateway/Cargo.toml +++ b/gateway/Cargo.toml @@ -6,12 +6,8 @@ authors = ["Oasis Labs Inc. ", "Parity Technologies