From f9f96d00c561b721bea641ea0aa246dede6ba839 Mon Sep 17 00:00:00 2001 From: Filippo Costa Date: Tue, 28 May 2024 15:03:57 +0200 Subject: [PATCH] Only use hex in dev-dependencies Signed-off-by: Filippo Costa --- curve25519-dalek/Cargo.toml | 2 +- ed25519-dalek/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/curve25519-dalek/Cargo.toml b/curve25519-dalek/Cargo.toml index ac740eba5..2c30a6e03 100644 --- a/curve25519-dalek/Cargo.toml +++ b/curve25519-dalek/Cargo.toml @@ -30,6 +30,7 @@ rustdoc-args = [ features = ["serde", "rand_core", "digest", "legacy_compatibility", "group-bits"] [dev-dependencies] +hex = "0.4" sha2 = { version = "0.10", default-features = false } bincode = "1" rand = "0.8" @@ -47,7 +48,6 @@ required-features = ["alloc", "rand_core"] cfg-if = "1" ff = { version = "0.13", default-features = false, optional = true } group = { version = "0.13", default-features = false, optional = true } -hex = "0.4.2" rand_core = { version = "0.6.4", default-features = false, optional = true } digest = { version = "0.10", default-features = false, optional = true } subtle = { version = "2.3.0", default-features = false } diff --git a/ed25519-dalek/Cargo.toml b/ed25519-dalek/Cargo.toml index cdc4d0a53..44d944aed 100644 --- a/ed25519-dalek/Cargo.toml +++ b/ed25519-dalek/Cargo.toml @@ -40,10 +40,10 @@ zeroize = { version = "1.5", default-features = false, optional = true } [dev-dependencies] curve25519-dalek = { version = "4", path = "../curve25519-dalek", default-features = false, features = ["digest", "rand_core"] } +hex = "0.4" x25519-dalek = { version = "2", path = "../x25519-dalek", default-features = false, features = ["static_secrets"] } blake2 = "0.10" sha3 = "0.10" -hex = "0.4" bincode = "1.0" serde_json = "1.0" hex-literal = "0.4"