fix dependency for tests to work

This commit is contained in:
bunnie 2022-06-06 22:54:48 +08:00
parent b0c7895e81
commit 6be6537194
2 changed files with 15 additions and 9 deletions

22
Cargo.lock generated
View file

@ -751,7 +751,7 @@ dependencies = [
"byteorder",
"cbc",
"cbor",
"hex",
"hex 0.3.2",
"p256",
"rand 0.8.5",
"rand_chacha 0.3.1",
@ -809,7 +809,7 @@ dependencies = [
"engine-25519",
"engine25519-as",
"fiat-crypto",
"hex",
"hex 0.4.3",
"log",
"packed_simd_2",
"rand 0.7.3",
@ -983,7 +983,7 @@ dependencies = [
"criterion",
"curve25519-dalek-loader",
"ed25519",
"hex",
"hex 0.4.3",
"merlin",
"rand 0.7.3",
"rand_core 0.5.1",
@ -1553,6 +1553,12 @@ dependencies = [
"libc",
]
[[package]]
name = "hex"
version = "0.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "805026a5d0141ffc30abb3be3173848ad46a1b1664fe632428479619a3644d77"
[[package]]
name = "hex"
version = "0.4.3"
@ -1782,7 +1788,7 @@ dependencies = [
"debug-here",
"gdbstub",
"gdbstub_arch",
"hex",
"hex 0.4.3",
"lazy_static",
"rand 0.7.3",
"rand_chacha 0.3.1",
@ -2816,7 +2822,7 @@ dependencies = [
"engine-25519",
"gam",
"graphics-server",
"hex",
"hex 0.4.3",
"jtag",
"llio",
"locales",
@ -3039,7 +3045,7 @@ version = "1.14.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "678b5a069e50bf00ecd22d0cd8ddf7c236f68581b03db652061ed5eb13a312ff"
dependencies = [
"hex",
"hex 0.4.3",
"serde",
"serde_with_macros",
]
@ -3106,7 +3112,7 @@ dependencies = [
"engine-25519",
"gam",
"graphics-server",
"hex",
"hex 0.4.3",
"ime-plugin-api",
"ime-plugin-shell",
"ime-plugin-tts",
@ -3764,7 +3770,7 @@ dependencies = [
"enum-iterator",
"gam",
"graphics-server",
"hex",
"hex 0.4.3",
"ime-plugin-api",
"ime-plugin-shell",
"locales",

View file

@ -27,7 +27,7 @@ rand_chacha = "0.3.1"
cbor = { path = "../cbor" }
regex = { version = "1" }
untrusted = { version = "0.7.0" }
hex = { version = "0.4.3", default-features = false }
hex = { version = "0.3.2", default-features = false }
serde = { version = "1.0", features = ["derive"] }
serde_json = { version = "1.0" }
ring = { version = "0.16.11" }