From 2be17b74fb7ff76548254e316521a1e02935f215 Mon Sep 17 00:00:00 2001 From: Bobbin Threadbare Date: Mon, 18 Mar 2024 12:35:00 -0700 Subject: [PATCH] fix: add re-exports of vec and format macros --- CHANGELOG.md | 4 ++++ Cargo.toml | 4 ++-- src/utils/mod.rs | 4 ++++ 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1489afa..c60752c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +# 0.8.4 (2024-03-17) + +* Re-added unintentionally removed re-exported liballoc macros (`vec` and `format` macros). + # 0.8.3 (2024-03-17) * Re-added unintentionally removed re-exported liballoc macros (#292). diff --git a/Cargo.toml b/Cargo.toml index b466003..42c3375 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,12 +1,12 @@ [package] name = "miden-crypto" -version = "0.8.3" +version = "0.8.4" description = "Miden Cryptographic primitives" authors = ["miden contributors"] readme = "README.md" license = "MIT" repository = "https://github.com/0xPolygonMiden/crypto" -documentation = "https://docs.rs/miden-crypto/0.8.3" +documentation = "https://docs.rs/miden-crypto/0.8.4" categories = ["cryptography", "no-std"] keywords = ["miden", "crypto", "hash", "merkle"] edition = "2021" diff --git a/src/utils/mod.rs b/src/utils/mod.rs index 588e6d2..df2a1cf 100644 --- a/src/utils/mod.rs +++ b/src/utils/mod.rs @@ -9,6 +9,10 @@ mod kv_map; // RE-EXPORTS // ================================================================================================ + +#[deprecated(since = "0.8.3", note = "You should prefer to import from `alloc::*`")] +pub use alloc::{format, vec}; + pub use winter_utils::{ boxed, string, uninit_vector, Box, ByteReader, ByteWriter, Deserializable, DeserializationError, Serializable, SliceReader,