Skip to content

Commit

Permalink
enable serde feature in example code
Browse files Browse the repository at this point in the history
  • Loading branch information
getong committed Dec 1, 2024
1 parent 9178ef8 commit ce24f10
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions examples/raft-kv-memstore-network-v2/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ tracing-subscriber = { version = "0.3.0", features = ["env-filter"] }
maplit = "1.0.2"

[features]
serde = []

[package.metadata.docs.rs]
all-features = true
1 change: 1 addition & 0 deletions examples/raft-kv-memstore-opendal-snapshot-data/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ opendal = "0.48.0"
maplit = "1.0.2"

[features]
serde = []

[package.metadata.docs.rs]
all-features = true
1 change: 1 addition & 0 deletions examples/raft-kv-memstore-singlethreaded/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ tracing-subscriber = { version = "0.3.0", features = ["env-filter"] }
maplit = "1.0.2"

[features]
serde = []

[package.metadata.docs.rs]
all-features = true
1 change: 1 addition & 0 deletions examples/raft-kv-memstore/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ anyhow = "1.0.63"
maplit = "1.0.2"

[features]
serde = []

[package.metadata.docs.rs]
all-features = true
1 change: 1 addition & 0 deletions examples/raft-kv-rocksdb/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ tempfile = { version = "3.4.0" }


[features]
serde = []

[package.metadata.docs.rs]
all-features = true

0 comments on commit ce24f10

Please sign in to comment.