summaryrefslogtreecommitdiffstats
path: root/Cargo.toml
diff options
context:
space:
mode:
authorSanto Cariotti <santo@dcariotti.me>2025-06-13 11:39:08 +0000
committerSanto Cariotti <santo@dcariotti.me>2025-06-14 16:39:36 +0000
commit247d7664612ce4c63796d4b9a28e31b7757e364b (patch)
tree1aaaaa70804635db24f5d9180e737b7cf6f327f3 /Cargo.toml
parent04891bbcaac75e887d57844548b61141cb6ebc07 (diff)
Hasher with SHA256 algorithm is no more the default
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml8
1 files changed, 6 insertions, 2 deletions
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"]