Skip to content

Commit

Permalink
add lmdb
Browse files Browse the repository at this point in the history
  • Loading branch information
antonilol committed Jul 13, 2024
1 parent ed10e34 commit b1cfafc
Show file tree
Hide file tree
Showing 7 changed files with 469 additions and 15 deletions.
227 changes: 217 additions & 10 deletions Cargo.lock

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

4 changes: 3 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,11 @@ edition = "2021"
build = "build.rs"

[features]
default = ["metrics", "rocksdb", "redb", "sled"]
default = ["metrics", "rocksdb", "lmdb", "redb", "sled"]
metrics = ["prometheus", "tiny_http"]
metrics_process = ["prometheus/process"]
rocksdb = ["dep:electrs-rocksdb"]
lmdb = ["dep:heed"]
redb = ["dep:redb"]
sled = ["dep:sled"]

Expand All @@ -43,6 +44,7 @@ signal-hook = "0.3"
tiny_http = { version = "0.12", optional = true }
redb = { version = "2.1.0", optional = true }
sled = { version = "0.34.7", optional = true }
heed = { version = "0.20.3", default-features = false, optional = true }

[dependencies.electrs-rocksdb]
version = "0.19.0-e3"
Expand Down
Loading

0 comments on commit b1cfafc

Please sign in to comment.