Skip to content

Commit 7f29a96

Browse files
committed
upgrade to rkyv 0.8
1 parent 0adf011 commit 7f29a96

File tree

5 files changed

+75
-86
lines changed

5 files changed

+75
-86
lines changed

CHANGELOG.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,13 @@
33
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
44
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
55

6-
## [Unreleased
6+
## [Unreleased]
77
### Changed
8-
- Updated optional dependencies to latest versions:
8+
- Updated optional dependencies to latest major versions:
99
* `zercopy` 0.6 -> 0.8
1010
* `rand` 0.8 -> 0.9
1111
* `rand_distr` 0.4 -> 0.5
12+
* `rkyv` 0.7 -> 0.8
1213

1314
### Added
1415
- Added support for `arbitrary` crate. Fixes [#110]. By [@FL33TW00D].

Cargo.lock

Lines changed: 69 additions & 81 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ rand = { version = "0.9.0", default-features = false, features = [
3939
"thread_rng",
4040
], optional = true }
4141
rand_distr = { version = "0.5.0", default-features = false, optional = true }
42-
rkyv = { version = "0.7", optional = true }
42+
rkyv = { version = "0.8", optional = true }
4343
arbitrary = { version = "1.3.2", features = ["derive"], optional = true }
4444

4545
[target.'cfg(target_arch = "spirv")'.dependencies]

src/bfloat.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ pub(crate) mod convert;
4040
feature = "rkyv",
4141
derive(rkyv::Archive, rkyv::Serialize, rkyv::Deserialize)
4242
)]
43-
#[cfg_attr(feature = "rkyv", archive(resolver = "Bf16Resolver"))]
43+
#[cfg_attr(feature = "rkyv", rkyv(resolver = Bf16Resolver))]
4444
#[cfg_attr(feature = "bytemuck", derive(Zeroable, Pod))]
4545
#[cfg_attr(feature = "zerocopy", derive(IntoBytes, FromBytes))]
4646
#[cfg_attr(kani, derive(kani::Arbitrary))]

src/binary16.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ pub(crate) mod arch;
3939
feature = "rkyv",
4040
derive(rkyv::Archive, rkyv::Serialize, rkyv::Deserialize)
4141
)]
42-
#[cfg_attr(feature = "rkyv", archive(resolver = "F16Resolver"))]
42+
#[cfg_attr(feature = "rkyv", rkyv(resolver = F16Resolver))]
4343
#[cfg_attr(feature = "bytemuck", derive(Zeroable, Pod))]
4444
#[cfg_attr(feature = "zerocopy", derive(IntoBytes, FromBytes))]
4545
#[cfg_attr(kani, derive(kani::Arbitrary))]

0 commit comments

Comments
 (0)