We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents acc2133 + 77f5705 commit 6817061Copy full SHA for 6817061
Cargo.toml
@@ -2,7 +2,7 @@
2
name = "value-log"
3
description = "Value log implementation for key-value separated LSM storage"
4
license = "MIT OR Apache-2.0"
5
-version = "1.5.2"
+version = "1.5.3"
6
edition = "2021"
7
rust-version = "1.74.0"
8
readme = "README.md"
src/slice/slice_default.rs
@@ -57,3 +57,15 @@ impl From<String> for Slice {
57
Self(ByteView::from(value.into_bytes()))
58
}
59
60
+
61
+impl From<ByteView> for Slice {
62
+ fn from(value: ByteView) -> Self {
63
+ Self(value)
64
+ }
65
+}
66
67
+impl From<Slice> for ByteView {
68
+ fn from(value: Slice) -> Self {
69
+ value.0
70
71
0 commit comments