Skip to content

Commit 03c74ab

Browse files
committed
fix: build
1 parent 01f4df2 commit 03c74ab

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ lz4_flex = { version = "0.11.3", optional = true }
3131
min-max-heap = "1.3.0"
3232
path-absolutize = "3.1.1"
3333
quick_cache = "0.5.1"
34-
serde = { version = "1.0.200", optional = true, features = ["derive"] }
34+
serde = { version = "1.0.200", optional = true, features = ["derive", "rc"] }
3535
tempfile = "3.10.1"
3636

3737
[dev-dependencies]

src/key_range.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ use std::{
1111

1212
/// A key range in the format of [min, max] (inclusive on both sides)
1313
#[derive(Clone, Debug, PartialEq, Eq)]
14+
#[cfg_attr(feature = "serde", derive(serde::Deserialize, serde::Serialize))]
1415
pub struct KeyRange((UserKey, UserKey));
1516

1617
impl std::ops::Deref for KeyRange {

0 commit comments

Comments
 (0)