Skip to content

Commit 2201745

Browse files
committed
restore rkyv unit test
1 parent 8f09911 commit 2201745

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

Cargo.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@ bytes = "1"
2525
criterion = { version = "0.5", features = ["html_reports"] }
2626
nanoid = "0.4.0"
2727
rand = "0.9.0"
28-
# TODO: Need MSRV 1.81
29-
# rkyv = { version = "0.8.10", features = ["bytecheck", "unaligned"] }
28+
rkyv = { version = "0.8.10", features = ["bytecheck", "unaligned"] }
3029

3130
[[bench]]
3231
name = "bench"

src/byteview.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -794,8 +794,7 @@ mod tests {
794794
use super::{ByteView, HeapAllocationHeader};
795795
use std::io::Cursor;
796796

797-
// TODO: see Cargo.toml
798-
/* #[test]
797+
#[test]
799798
#[cfg(not(miri))]
800799
fn test_rykv() {
801800
use rkyv::{rancor::Error, Archive, Deserialize, Serialize};
@@ -836,7 +835,7 @@ mod tests {
836835
assert_eq!(archived.id, a.id);
837836
assert_eq!(archived.name, a.name);
838837
}
839-
} */
838+
}
840839

841840
#[test]
842841
#[cfg(target_pointer_width = "64")]

0 commit comments

Comments
 (0)