From a7f0f86c8f5a25c252f7da1a19531aab8c86bde8 Mon Sep 17 00:00:00 2001 From: James Date: Mon, 11 Sep 2023 12:57:11 -0700 Subject: [PATCH 1/3] feature: add 768 alias --- src/aliases.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/aliases.rs b/src/aliases.rs index 93b004a..b700652 100644 --- a/src/aliases.rs +++ b/src/aliases.rs @@ -56,6 +56,7 @@ alias! { U384 B384 (384, 6); U448 B448 (448, 7); U512 B512 (512, 8); + U768 B768 (768, 12); U1024 B1024 (1024, 16); U2048 B2048 (2048, 32); U4096 B4096 (4096, 64); @@ -83,6 +84,7 @@ pub mod tests { let _ = (U384::ZERO, U384::MAX, B384::ZERO); let _ = (U448::ZERO, U448::MAX, B448::ZERO); let _ = (U512::ZERO, U512::MAX, B512::ZERO); + let _ = (U768::ZERO, U768::MAX, B768::ZERO); let _ = (U1024::ZERO, U1024::MAX, B1024::ZERO); let _ = (U2048::ZERO, U2048::MAX, B2048::ZERO); let _ = (U4096::ZERO, U4096::MAX, B4096::ZERO); From c450fbc251cbe321df6ff017b71174bc0ccd3b89 Mon Sep 17 00:00:00 2001 From: James Date: Mon, 11 Sep 2023 12:58:24 -0700 Subject: [PATCH 2/3] chore: update Changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 36547ac..36f1a96 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added +- `U768` feature ([#310]) - `bytemuck` feature ([#292]) - `Uint::is_zero() -> bool` ([#296]) - `num-traits` features ([#298]) From cd69d8d6ba7fbee019d3e5bc37df7e22ba97df9a Mon Sep 17 00:00:00 2001 From: James Date: Mon, 11 Sep 2023 13:01:51 -0700 Subject: [PATCH 3/3] nit; changlog 'alias' --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 36f1a96..49c8012 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,7 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added -- `U768` feature ([#310]) +- `U768` alias ([#310]) - `bytemuck` feature ([#292]) - `Uint::is_zero() -> bool` ([#296]) - `num-traits` features ([#298])