From 326bb17ec00c15fd745e462635e80e931fdde041 Mon Sep 17 00:00:00 2001 From: Tony Arcieri Date: Mon, 30 Mar 2026 08:47:29 -0600 Subject: [PATCH] v0.4.9 --- CHANGELOG.md | 10 ++++++++++ Cargo.lock | 2 +- Cargo.toml | 2 +- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ca82c6d..7a421ae 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,16 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## 0.4.9 (2026-03-30) +### Added +- Functions for casting from core references ([#181]) + - `Array::cast_from_core`: `const fn` equivalent of `From<[T; N]>` + - `Array::cast_from_core_mut`: `mut` equivalent of the above + - `Array::from_ref`: cast `&T` to `&Array` + - `Array::from_mut`: `mut` equivalent of the above + +[#181]: https://github.com/RustCrypto/hybrid-array/pull/181 + ## 0.4.8 (2026-03-08) ### Added - `ctutils` support ([#177]) diff --git a/Cargo.lock b/Cargo.lock index c47c6e2..ee8d9c4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -31,7 +31,7 @@ dependencies = [ [[package]] name = "hybrid-array" -version = "0.4.8" +version = "0.4.9" dependencies = [ "arbitrary", "bytemuck", diff --git a/Cargo.toml b/Cargo.toml index 74aae94..186674c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hybrid-array" -version = "0.4.8" +version = "0.4.9" description = """ Hybrid typenum-based and const generic array types designed to provide the flexibility of typenum-based expressions while also allowing interoperability