From 247d7664612ce4c63796d4b9a28e31b7757e364b Mon Sep 17 00:00:00 2001 From: Santo Cariotti Date: Fri, 13 Jun 2025 13:39:08 +0200 Subject: Hasher with SHA256 algorithm is no more the default --- Cargo.toml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index 95acfdf..e28f8ce 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,5 +5,9 @@ version = "0.1.0" edition = "2024" [dependencies] -hex = "0.4.3" -sha2 = "0.10.9" +hex = { version = "0.4.3", optional = true } +sha2 = { version = "0.10.9", optional = true } + +[features] +default = [] +sha256 = ["sha2", "hex"] -- cgit v1.2.3-71-g8e6c