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

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


The following commit(s) were added to refs/heads/master by this push:
     new e8a9fc2  sample: use the latest prost with no default features
e8a9fc2 is described below

commit e8a9fc22939befa27ff67f5509b2c2dfe8499945
Author: Yu Ding <[email protected]>
AuthorDate: Tue Feb 22 16:31:35 2022 -0800

    sample: use the latest prost with no default features
---
 samplecode/prost-protobuf/app/Cargo.toml     | 8 ++++----
 samplecode/prost-protobuf/enclave/Cargo.toml | 8 ++++----
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/samplecode/prost-protobuf/app/Cargo.toml 
b/samplecode/prost-protobuf/app/Cargo.toml
index 5507e3e..26575ae 100644
--- a/samplecode/prost-protobuf/app/Cargo.toml
+++ b/samplecode/prost-protobuf/app/Cargo.toml
@@ -7,13 +7,13 @@ build = "build.rs"
 [dependencies]
 sgx_types = { git = "https://github.com/apache/teaclave-sgx-sdk.git"; }
 sgx_urts = { git = "https://github.com/apache/teaclave-sgx-sdk.git"; }
-prost = "0.6"
-prost-types = "0.6"
-bytes = "0.5"
+prost = "0.9"
+prost-types = "0.9"
+bytes = "1.0"
 
 [patch.'https://github.com/apache/teaclave-sgx-sdk.git']
 sgx_types = { path = "../../../sgx_types" }
 sgx_urts = { path = "../../../sgx_urts" }
 
 [build-dependencies]
-prost-build = "0.6"
+prost-build = "0.9"
diff --git a/samplecode/prost-protobuf/enclave/Cargo.toml 
b/samplecode/prost-protobuf/enclave/Cargo.toml
index 338fe5b..120ec2c 100644
--- a/samplecode/prost-protobuf/enclave/Cargo.toml
+++ b/samplecode/prost-protobuf/enclave/Cargo.toml
@@ -11,12 +11,12 @@ crate-type = ["staticlib"]
 default = []
 
 [dependencies]
-prost = { git = "https://github.com/mesalock-linux/prost-sgx"; }
-bytes = { git = "https://github.com/mesalock-linux/bytes-sgx"; }
-prost-types = { git = "https://github.com/mesalock-linux/prost-sgx"; }
+prost = { version = "0.9", default-features = false, features = 
["prost-derive"] }
+bytes = { version = "1.0", default-features = false }
+prost-types = { version = "0.9", default-features = false }
 
 [build-dependencies]
-prost-build = "0.6"
+prost-build = "0.9"
 
 [target.'cfg(not(target_env = "sgx"))'.dependencies]
 sgx_types = { git = "https://github.com/apache/teaclave-sgx-sdk.git"; }

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to