Skip to content

Commit d5f0e84

Browse files
devin-ai-integration[bot]加藤慶一
andcommitted
Fix: Pin bincode version to 2.0.0-rc.3 to support rustc 1.83.0-nightly
Co-Authored-By: 加藤慶一 <norikazu.kato@datachain.jp>
1 parent abc5cf6 commit d5f0e84

File tree

6 files changed

+10
-7
lines changed

6 files changed

+10
-7
lines changed

Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,6 @@ exclude = [
3030
"enclave-modules",
3131
"proto-compiler"
3232
]
33+
34+
[workspace.dependencies]
35+
bincode = "=2.0.0-rc.3"

enclave-modules/host-api/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ edition = "2021"
77

88
[dependencies]
99
sgx_types = { rev = "v1.1.6", git = "https://github.com/apache/incubator-teaclave-sgx-sdk" }
10-
bincode = { version = "2.0.0-rc.3", default-features = false, features = ["serde", "alloc"] }
10+
bincode = { version = "=2.0.0-rc.3", default-features = false, features = ["serde", "alloc"] }
1111
flex-error = { version = "0.4.4", default-features = false }
1212
ocall-commands = { path = "../../modules/ocall-commands", default-features = false }
1313
store = { path = "../../modules/store", default-features = false }

enclave-modules/runtime/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ sgx_types = { rev = "v1.1.6", git = "https://github.com/apache/incubator-teaclav
88
sgx_trts = { rev = "v1.1.6", git = "https://github.com/apache/incubator-teaclave-sgx-sdk" }
99
sgx_alloc = { rev = "v1.1.6", git = "https://github.com/apache/incubator-teaclave-sgx-sdk" }
1010
log = { version = "0.4.8", default-features = false }
11-
bincode = { version = "2.0.0-rc.3", default-features = false, features = ["serde", "alloc"] }
11+
bincode = { version = "=2.0.0-rc.3", default-features = false, features = ["serde", "alloc"] }
1212
flex-error = { version = "0.4.4", default-features = false }
1313
once_cell = { version = "1.15.0", default-features = false, features = ["alloc"] }
1414

modules/enclave-api/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ edition = "2021"
66
[dependencies]
77
sgx_types = { rev = "v1.1.6", git = "https://github.com/apache/incubator-teaclave-sgx-sdk" }
88
sgx_urts = { rev = "v1.1.6", git = "https://github.com/apache/incubator-teaclave-sgx-sdk" }
9-
bincode = { version = "2.0.0-rc.3", default-features = false, features = ["serde", "alloc"] }
9+
bincode = { version = "=2.0.0-rc.3", default-features = false, features = ["serde", "alloc"] }
1010
log = "0.4.8"
1111
flex-error = { version = "0.4.4" }
1212

modules/host/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ sgx_urts = { rev = "v1.1.6", git = "https://github.com/apache/incubator-teaclave
88
sgx_types = { rev = "v1.1.6", git = "https://github.com/apache/incubator-teaclave-sgx-sdk" }
99
log = "0.4.8"
1010
once_cell = "1.15.0"
11-
bincode = { version = "2.0.0-rc.3", default-features = false, features = ["serde", "alloc"] }
11+
bincode = { version = "=2.0.0-rc.3", default-features = false, features = ["serde", "alloc"] }
1212

1313
ocall-commands = { path = "../ocall-commands" }
1414
ocall-handler = { path = "../ocall-handler", default-features = false }
@@ -18,4 +18,4 @@ default = []
1818
rocksdb = [
1919
"ocall-handler/rocksdb"
2020
]
21-
test = []
21+
test = []

modules/light-client/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ edition = "2021"
55

66
[dependencies]
77
flex-error = { version = "0.4.4", default-features = false }
8-
derive_more = { version = "1.0", default-features = false }
9-
bincode = { version = "2.0.0-rc.3", default-features = false, features = ["serde", "alloc"] }
8+
derive_more = { version = "1.0", default-features = false, features = ["from", "error", "display"] }
9+
bincode = { version = "=2.0.0-rc.3", default-features = false, features = ["serde", "alloc"] }
1010
ibc = { version = "0.29.0", default-features = false, features = ["serde"], optional = true }
1111

1212
lcp-types = { path = "../types", default-features = false }

0 commit comments

Comments
 (0)