Skip to content

Commit 49a334b

Browse files
committed
add utf8 error case to DecodeError
1 parent a5f357b commit 49a334b

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "value-log"
33
description = "Value log implementation for key-value separated LSM storage"
44
license = "MIT OR Apache-2.0"
5-
version = "1.7.0"
5+
version = "1.7.1"
66
edition = "2021"
77
rust-version = "1.74.0"
88
readme = "README.md"

src/coding.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ pub enum DecodeError {
4343
/// I/O error
4444
Io(std::io::Error),
4545

46+
Utf8(std::str::Utf8Error),
47+
4648
InvalidVersion,
4749

4850
/// Invalid enum tag

0 commit comments

Comments
 (0)