Skip to content

Commit e93dda2

Browse files
authored
digest: alias core_api with a depreciation notice (#1861)
Alternative to #1859
1 parent abab6dc commit e93dda2

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

digest/src/lib.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,13 @@ pub use crypto_common::{Output, OutputSizeUser, Reset, array, typenum, typenum::
7474
pub use mac::{CtOutput, Mac, MacError, MacMarker};
7575
pub use xof_fixed::XofFixedWrapper;
7676

77+
#[cfg(feature = "block-api")]
78+
#[deprecated(
79+
since = "0.11.0",
80+
note = "`digest::core_api` has been replaced by `digest::block_api`"
81+
)]
82+
pub use block_api as core_api;
83+
7784
use core::fmt;
7885
use crypto_common::typenum::Unsigned;
7986

0 commit comments

Comments
 (0)