Skip to content

Commit

Permalink
update changelog, run rustfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
starkat99 committed Feb 25, 2024
1 parent b22fb7a commit ab90c4c
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
### Fixed
- Remove some unit NaN conversion sign tests due to non-deterministic hardware. Fixes [#103].
- Redundant import warnings on nightly Rust.
- Add optional `rkyv` support. Fixes [#100], by [@comath].

## [2.3.1] - 2023-06-24 <a name="2.3.1"></a>
### Fixed
Expand Down Expand Up @@ -315,6 +316,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
[#66]: https://github.com/starkat99/half-rs/issues/66
[#54]: https://github.com/starkat99/half-rs/issues/54
[#93]: https://github.com/starkat99/half-rs/issues/54
[#100]: https://github.com/starkat99/half-rs/issues/100
[#103]: https://github.com/starkat99/half-rs/issues/103

[@tspiteri]: https://github.com/tspiteri
Expand All @@ -336,6 +338,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
[@coreylowman]: https://github.com/coreylowman
[@wx-csy]: https://github.com/wx-csy
[@eiz]: https://github.com/eiz
[@comath]: https://github.com/comath


[Unreleased]: https://github.com/starkat99/half-rs/compare/v2.3.1...HEAD
Expand Down
5 changes: 4 additions & 1 deletion src/bfloat.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,10 @@ pub(crate) mod convert;
#[derive(Clone, Copy, Default)]
#[repr(transparent)]
#[cfg_attr(feature = "serde", derive(Serialize))]
#[cfg_attr(feature = "rkyv", derive(rkyv::Archive, rkyv::Serialize, rkyv::Deserialize))]
#[cfg_attr(
feature = "rkyv",
derive(rkyv::Archive, rkyv::Serialize, rkyv::Deserialize)
)]
#[cfg_attr(feature = "rkyv", archive(resolver = "Bf16Resolver"))]
#[cfg_attr(feature = "bytemuck", derive(Zeroable, Pod))]
#[cfg_attr(feature = "zerocopy", derive(AsBytes, FromBytes))]
Expand Down
5 changes: 4 additions & 1 deletion src/binary16.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,10 @@ pub(crate) mod arch;
#[derive(Clone, Copy, Default)]
#[repr(transparent)]
#[cfg_attr(feature = "serde", derive(Serialize))]
#[cfg_attr(feature = "rkyv", derive(rkyv::Archive, rkyv::Serialize, rkyv::Deserialize))]
#[cfg_attr(
feature = "rkyv",
derive(rkyv::Archive, rkyv::Serialize, rkyv::Deserialize)
)]
#[cfg_attr(feature = "rkyv", archive(resolver = "F16Resolver"))]
#[cfg_attr(feature = "bytemuck", derive(Zeroable, Pod))]
#[cfg_attr(feature = "zerocopy", derive(AsBytes, FromBytes))]
Expand Down

0 comments on commit ab90c4c

Please sign in to comment.