Skip to content

Commit

Permalink
fix: add re-exports of vec and format macros
Browse files Browse the repository at this point in the history
  • Loading branch information
bobbinth committed Mar 18, 2024
1 parent b35e99c commit 2be17b7
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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).
Expand Down
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
4 changes: 4 additions & 0 deletions src/utils/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,

Check warning on line 17 in src/utils/mod.rs

View workflow job for this annotation

GitHub Actions / build stable no-std for wasm32-unknown-unknown

use of deprecated module `winter_utils::boxed`: You should prefer to import from `alloc::boxed::*`

Check warning on line 17 in src/utils/mod.rs

View workflow job for this annotation

GitHub Actions / build stable no-std for wasm32-unknown-unknown

use of deprecated module `winter_utils::string`: You should prefer to import from `alloc::string::*`

Check warning on line 17 in src/utils/mod.rs

View workflow job for this annotation

GitHub Actions / build nightly no-std for wasm32-unknown-unknown

use of deprecated module `winter_utils::boxed`: You should prefer to import from `alloc::boxed::*`

Check warning on line 17 in src/utils/mod.rs

View workflow job for this annotation

GitHub Actions / build nightly no-std for wasm32-unknown-unknown

use of deprecated module `winter_utils::string`: You should prefer to import from `alloc::string::*`

Check failure on line 17 in src/utils/mod.rs

View workflow job for this annotation

GitHub Actions / clippy nightly on ubuntu

use of deprecated module `winter_utils::string`: You should prefer to import from `alloc::string::*`

Check warning on line 17 in src/utils/mod.rs

View workflow job for this annotation

GitHub Actions / test stable on ubuntu with --no-default-features

use of deprecated module `winter_utils::boxed`: You should prefer to import from `alloc::boxed::*`

Check warning on line 17 in src/utils/mod.rs

View workflow job for this annotation

GitHub Actions / test stable on ubuntu with --no-default-features

use of deprecated module `winter_utils::string`: You should prefer to import from `alloc::string::*`

Check warning on line 17 in src/utils/mod.rs

View workflow job for this annotation

GitHub Actions / test nightly on ubuntu with --features default,serde

use of deprecated module `winter_utils::boxed`: You should prefer to import from `alloc::boxed::*`

Check warning on line 17 in src/utils/mod.rs

View workflow job for this annotation

GitHub Actions / test nightly on ubuntu with --features default,serde

use of deprecated module `winter_utils::string`: You should prefer to import from `alloc::string::*`

Check warning on line 17 in src/utils/mod.rs

View workflow job for this annotation

GitHub Actions / test nightly on ubuntu with --no-default-features

use of deprecated module `winter_utils::boxed`: You should prefer to import from `alloc::boxed::*`

Check warning on line 17 in src/utils/mod.rs

View workflow job for this annotation

GitHub Actions / test nightly on ubuntu with --no-default-features

use of deprecated module `winter_utils::string`: You should prefer to import from `alloc::string::*`

Check warning on line 17 in src/utils/mod.rs

View workflow job for this annotation

GitHub Actions / test stable on ubuntu with --features default,serde

use of deprecated module `winter_utils::boxed`: You should prefer to import from `alloc::boxed::*`

Check warning on line 17 in src/utils/mod.rs

View workflow job for this annotation

GitHub Actions / test stable on ubuntu with --features default,serde

use of deprecated module `winter_utils::string`: You should prefer to import from `alloc::string::*`
DeserializationError, Serializable, SliceReader,
Expand Down

0 comments on commit 2be17b7

Please sign in to comment.