From cc80603296645f2e9400eebe1a1e1aa77dfe6709 Mon Sep 17 00:00:00 2001 From: xevisalle Date: Fri, 20 Dec 2024 13:39:17 +0100 Subject: [PATCH] core: Disable default_features for sha2 --- core/CHANGELOG.md | 4 ++++ core/Cargo.toml | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/core/CHANGELOG.md b/core/CHANGELOG.md index 1fc8cfa..68a26ac 100644 --- a/core/CHANGELOG.md +++ b/core/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Changed + +- Disable `default_features` + ## [0.33.0] - 2024-12-18 ### Added diff --git a/core/Cargo.toml b/core/Cargo.toml index ba10d06..048f435 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -28,7 +28,7 @@ base64 = { version = "0.22", optional = true } serde_json = { version = "1.0", optional = true } hex = { version = "0.4" , optional = true } hkdf = "0.12" -sha2 = "0.10" +sha2 = { version = "0.10", default-features = false } [dev-dependencies] assert_matches = "1.3"