From 75c1ce8b0610a8bc8b990efc6fafa9c6aad4ef78 Mon Sep 17 00:00:00 2001 From: Arthur Gautier Date: Tue, 27 May 2025 12:39:02 -0700 Subject: [PATCH] digest: alias core_api with a depreciation notice --- digest/src/lib.rs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/digest/src/lib.rs b/digest/src/lib.rs index 91ab8fb83..31bb0f235 100644 --- a/digest/src/lib.rs +++ b/digest/src/lib.rs @@ -74,6 +74,13 @@ pub use crypto_common::{Output, OutputSizeUser, Reset, array, typenum, typenum:: pub use mac::{CtOutput, Mac, MacError, MacMarker}; pub use xof_fixed::XofFixedWrapper; +#[cfg(feature = "block-api")] +#[deprecated( + since = "0.11.0", + note = "`digest::core_api` has been replaced by `digest::block_api`" +)] +pub use block_api as core_api; + use core::fmt; use crypto_common::typenum::Unsigned;