From 9b8d6237c58824e713218cace3770f56222cc460 Mon Sep 17 00:00:00 2001 From: zen3ger Date: Tue, 25 Jul 2023 14:03:49 +0200 Subject: [PATCH] chore: switch sha-1 package name to sha1 (#328) Closes #278. --- codetable/Cargo.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/codetable/Cargo.toml b/codetable/Cargo.toml index 674e03b3..b1c58ed6 100644 --- a/codetable/Cargo.toml +++ b/codetable/Cargo.toml @@ -10,8 +10,8 @@ edition = "2021" [features] default = ["std"] -std = ["blake2b_simd?/std", "blake2s_simd?/std", "blake3?/std", "digest?/std", "sha-1?/std", "sha2?/std", "sha3?/std", "strobe-rs?/std", "ripemd?/std", "multihash-derive/std", "core2/std"] -sha1 = ["dep:sha-1"] +std = ["blake2b_simd?/std", "blake2s_simd?/std", "blake3?/std", "digest?/std", "sha1?/std", "sha2?/std", "sha3?/std", "strobe-rs?/std", "ripemd?/std", "multihash-derive/std", "core2/std"] +sha1 = ["dep:sha1"] strobe = ["dep:strobe-rs"] blake2b = ["dep:blake2b_simd"] blake2s = ["dep:blake2s_simd"] @@ -21,7 +21,7 @@ blake2b_simd = { version = "1.0.0", default-features = false, optional = true } blake2s_simd = { version = "1.0.0", default-features = false, optional = true } blake3 = { version = "1.2.0", default-features = false, optional = true } digest = { version = "0.10.1", default-features = false, optional = true } -sha-1 = { version = "0.10.0", default-features = false, optional = true } +sha1 = { version = "0.10.5", default-features = false, optional = true } sha2 = { version = "0.10.0", default-features = false, optional = true } sha3 = { version = "0.10.0", default-features = false, optional = true } strobe-rs = { version = "0.8.1", default-features = false, optional = true }