You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@teaclave.apache.org by ms...@apache.org on 2019/12/16 19:09:29 UTC

[incubator-teaclave] branch master updated: [cli] Remove unneccessary dependency (#170)

This is an automated email from the ASF dual-hosted git repository.

mssun pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-teaclave.git


The following commit(s) were added to refs/heads/master by this push:
     new e3fc463  [cli] Remove unneccessary dependency (#170)
e3fc463 is described below

commit e3fc463f09a998e244210b40471ea6bc31a08241
Author: Mingshen Sun <bo...@mssun.me>
AuthorDate: Mon Dec 16 11:09:22 2019 -0800

    [cli] Remove unneccessary dependency (#170)
---
 teaclave_cli/Cargo.toml  | 1 -
 teaclave_cli/src/main.rs | 3 ++-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/teaclave_cli/Cargo.toml b/teaclave_cli/Cargo.toml
index 61e07ca..99d63b0 100644
--- a/teaclave_cli/Cargo.toml
+++ b/teaclave_cli/Cargo.toml
@@ -8,7 +8,6 @@ edition = "2018"
 
 [dependencies]
 mesatee_core = "0.1.0"
-quicli = "0.4.0"
 serde_derive = "1.0.92"
 serde = "1.0.92"
 failure = "0.1.5"
diff --git a/teaclave_cli/src/main.rs b/teaclave_cli/src/main.rs
index 251c387..a8e7128 100644
--- a/teaclave_cli/src/main.rs
+++ b/teaclave_cli/src/main.rs
@@ -15,7 +15,7 @@
 // specific language governing permissions and limitations
 // under the License.
 
-use quicli::prelude::*;
+use exitfailure::ExitFailure;
 use structopt::StructOpt;
 
 use std::fs;
@@ -31,6 +31,7 @@ use teaclave_utils::EnclaveMeasurement;
 use tms_external_proto::{TaskRequest, TaskResponse};
 
 type EnclaveInfo = std::collections::HashMap<String, EnclaveMeasurement>;
+type CliResult = Result<(), ExitFailure>;
 
 #[derive(Debug, PartialEq)]
 enum Endpoint {


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@teaclave.apache.org
For additional commands, e-mail: commits-help@teaclave.apache.org