From bec1a13658278192897cf2ffd2ac08c9f8426b8a Mon Sep 17 00:00:00 2001 From: Filippo Costa Date: Tue, 28 May 2024 14:58:02 +0200 Subject: [PATCH] Remove use of std from hex 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..e692feadc 100644 --- a/curve25519-dalek/Cargo.toml +++ b/curve25519-dalek/Cargo.toml @@ -47,7 +47,7 @@ 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" +hex = { version = "0.4", default-features = false } 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..328fd437e 100644 --- a/ed25519-dalek/Cargo.toml +++ b/ed25519-dalek/Cargo.toml @@ -43,7 +43,7 @@ curve25519-dalek = { version = "4", path = "../curve25519-dalek", default-featur x25519-dalek = { version = "2", path = "../x25519-dalek", default-features = false, features = ["static_secrets"] } blake2 = "0.10" sha3 = "0.10" -hex = "0.4" +hex = { version = "0.4", default-features = false } bincode = "1.0" serde_json = "1.0" hex-literal = "0.4"