From 9befaed93e1bb57cfa004207bcf8ed3723947393 Mon Sep 17 00:00:00 2001 From: Nick Santana Date: Mon, 15 Aug 2022 09:52:31 -0700 Subject: [PATCH 1/2] Add missing version strings for dependent crates In order to publish crates *all* dependencies should specify the versions. Previously some local crates were not specifying the version, now they all are. --- dcap_quoteverify/sys/Cargo.toml | 2 +- dcap_quoteverify/sys/types/Cargo.toml | 2 +- tcrypto/sys/Cargo.toml | 2 +- tstdc/sys/Cargo.toml | 6 +++--- urts/sys/types/Cargo.toml | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/dcap_quoteverify/sys/Cargo.toml b/dcap_quoteverify/sys/Cargo.toml index 58c7fb2a..aaaf8db2 100644 --- a/dcap_quoteverify/sys/Cargo.toml +++ b/dcap_quoteverify/sys/Cargo.toml @@ -19,4 +19,4 @@ mc-sgx-dcap-sys-types = { path = "../../dcap/sys/types", version = "=0.1.0" } [build-dependencies] bindgen = "0.60.1" cargo-emit = "0.2.1" -mc-sgx-core-build = { path = "../../core/build" } \ No newline at end of file +mc-sgx-core-build = { path = "../../core/build", version = "=0.1.0" } \ No newline at end of file diff --git a/dcap_quoteverify/sys/types/Cargo.toml b/dcap_quoteverify/sys/types/Cargo.toml index cf388b4b..5338e127 100644 --- a/dcap_quoteverify/sys/types/Cargo.toml +++ b/dcap_quoteverify/sys/types/Cargo.toml @@ -16,4 +16,4 @@ mc-sgx-dcap-sys-types = { path = "../../../dcap/sys/types", version = "=0.1.0" } [build-dependencies] bindgen = "0.60.1" -mc-sgx-core-build = { path = "../../../core/build" } +mc-sgx-core-build = { path = "../../../core/build", version = "=0.1.0" } diff --git a/tcrypto/sys/Cargo.toml b/tcrypto/sys/Cargo.toml index 75ea13f9..06637664 100644 --- a/tcrypto/sys/Cargo.toml +++ b/tcrypto/sys/Cargo.toml @@ -22,4 +22,4 @@ sha2 = "0.10.2" [build-dependencies] bindgen = "0.60.1" cargo-emit = "0.2.1" -mc-sgx-core-build = { path = "../../core/build" } +mc-sgx-core-build = { path = "../../core/build", version = "=0.1.0" } diff --git a/tstdc/sys/Cargo.toml b/tstdc/sys/Cargo.toml index 5cf12637..43697230 100644 --- a/tstdc/sys/Cargo.toml +++ b/tstdc/sys/Cargo.toml @@ -17,10 +17,10 @@ rust-version = "1.62.1" test = false [dependencies] -mc-sgx-tstdc-sys-types = { path = "types" } -mc-sgx-core-sys-types = { path = "../../core/sys/types" } +mc-sgx-tstdc-sys-types = { path = "types", version = "0.1.0" } +mc-sgx-core-sys-types = { path = "../../core/sys/types", version = "0.1.0" } [build-dependencies] bindgen = "0.60.1" cargo-emit = "0.2.1" -mc-sgx-core-build = { path = "../../core/build" } +mc-sgx-core-build = { path = "../../core/build", version = "0.1.0" } diff --git a/urts/sys/types/Cargo.toml b/urts/sys/types/Cargo.toml index 9b863954..ba04bc95 100644 --- a/urts/sys/types/Cargo.toml +++ b/urts/sys/types/Cargo.toml @@ -18,4 +18,4 @@ mc-sgx-core-sys-types = { path = "../../../core/sys/types", version = "=0.1.0" } bindgen = "0.60.1" cargo-emit = "0.2.1" -mc-sgx-core-build = { path = "../../../core/build" } +mc-sgx-core-build = { path = "../../../core/build", version = "=0.1.0" } From 4656dd1405a1d643a3285b0383c098b6c0ba8feb Mon Sep 17 00:00:00 2001 From: Nick Santana Date: Mon, 15 Aug 2022 10:52:01 -0700 Subject: [PATCH 2/2] Add some more missing Cargo.toml versions --- capable/Cargo.toml | 2 +- test_enclave/Cargo.toml | 2 +- urts/Cargo.toml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/capable/Cargo.toml b/capable/Cargo.toml index 96ac7642..9212936d 100644 --- a/capable/Cargo.toml +++ b/capable/Cargo.toml @@ -12,4 +12,4 @@ This crate exposes an idiomatic rust interface to the SGX SDK's `libsgx_capable` ''' [dependencies] -mc-sgx-capable-ffi = { path = "ffi" } +mc-sgx-capable-sys = { path = "sys", version = "=0.1.0" } diff --git a/test_enclave/Cargo.toml b/test_enclave/Cargo.toml index 388a4994..bff10b7f 100644 --- a/test_enclave/Cargo.toml +++ b/test_enclave/Cargo.toml @@ -19,4 +19,4 @@ bindgen = "0.60.1" rsa = "0.6.1" rand = "0.8.5" -mc-sgx-core-build = { path = "../core/build" } +mc-sgx-core-build = { path = "../core/build", version = "=0.1.0" } diff --git a/urts/Cargo.toml b/urts/Cargo.toml index 7663f2a8..b11400e0 100644 --- a/urts/Cargo.toml +++ b/urts/Cargo.toml @@ -21,4 +21,4 @@ sim = ["mc-sgx-urts-sys/sim", "test_enclave/sim"] default = [] [dev-dependencies] -test_enclave = { path = "../test_enclave" } +test_enclave = { path = "../test_enclave", version = "=0.1.0" }