diff --git a/Cargo.lock b/Cargo.lock index 05af19375..f39b5100e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1201,7 +1201,28 @@ version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f6f339eb8adc052cd2ca78910fda869aefa38d22d5cb648e6485e4d3fc06f3b1" dependencies = [ - "foreign-types-shared", + "foreign-types-shared 0.1.1", +] + +[[package]] +name = "foreign-types" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d737d9aa519fb7b749cbc3b962edcf310a8dd1f4b67c91c4f83975dbdd17d965" +dependencies = [ + "foreign-types-macros", + "foreign-types-shared 0.3.1", +] + +[[package]] +name = "foreign-types-macros" +version = "0.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1a5c6c585bc94aaf2c7b51dd4c2ba22680844aba4c687be581871a6f518c5742" +dependencies = [ + "proc-macro2 1.0.78", + "quote 1.0.35", + "syn 2.0.50", ] [[package]] @@ -1210,6 +1231,12 @@ version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" +[[package]] +name = "foreign-types-shared" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aa9a19cbb55df58761df49b23516a86d432839add4af60fc256da840f66ed35b" + [[package]] name = "form_urlencoded" version = "1.0.1" @@ -2641,7 +2668,7 @@ checksum = "79a4c6c3a2b158f7f8f2a2fc5a969fa3a068df6fc9dbb4a43845436e3af7c800" dependencies = [ "bitflags 2.5.0", "cfg-if 1.0.0", - "foreign-types", + "foreign-types 0.3.2", "libc", "once_cell", "openssl-macros", @@ -3765,7 +3792,7 @@ dependencies = [ "anyhow", "byteorder 1.3.4", "crypto-hash", - "foreign-types", + "foreign-types 0.5.0", "openssl", "openssl-sys", "sgx-isa 0.4.1", diff --git a/intel-sgx/sgxs/Cargo.toml b/intel-sgx/sgxs/Cargo.toml index 47c05dcda..a0feb33ca 100644 --- a/intel-sgx/sgxs/Cargo.toml +++ b/intel-sgx/sgxs/Cargo.toml @@ -23,7 +23,7 @@ thiserror = "1.0" # MIT/Apache-2.0 anyhow = "1.0" # MIT/Apache-2.0 openssl = { version = "0.10", optional = true } # Apache-2.0 openssl-sys = { version = "0.9.24", optional = true } # Apache-2.0 -foreign-types = { version = "0.3", optional = true } # MIT/Apache-2.0 +foreign-types = { version = "0.5", optional = true } # MIT/Apache-2.0 sha2 = { version = "0.8", optional = true } # MIT OR Apache-2.0 [features]