Skip to content

Commit

Permalink
add sled mod
Browse files Browse the repository at this point in the history
  • Loading branch information
makemake-kbo committed Mar 31, 2024
1 parent c575811 commit 24fb410
Show file tree
Hide file tree
Showing 4 changed files with 181 additions and 2 deletions.
177 changes: 177 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,11 @@ categories = ["database"]
license = "GPL-2.0-or-later"

[dependencies]
sled = { version = "0.34.7", optional = true }
zerocopy = "0.7.32"

[features]
default = ["btreemap"]
default = ["sled_pre"]
btreemap = []
hashmap = []
sled = []
sled_pre = ["sled"]
1 change: 1 addition & 0 deletions src/backends/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@
pub mod btreemap;
pub mod hashmap;
pub mod sled_pre;
Empty file added src/backends/sled_pre/mod.rs
Empty file.

0 comments on commit 24fb410

Please sign in to comment.