Skip to content

Commit 115d76e

Browse files
committed
wip: Add support for rust-rocksdb storage engine
Signed-off-by: Diwank Singh Tomer <diwank.singh@gmail.com>
1 parent 695d028 commit 115d76e

6 files changed

Lines changed: 727 additions & 18 deletions

File tree

Cargo.lock

Lines changed: 152 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cozo-core/Cargo.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ storage-sqlite-src = ["dep:sqlite3-src", "sqlite3-src/bundled"]
3333
## but is very performant and supports an extremely high level of concurrency.
3434
## You can also [fine-tune](https://github.com/cozodb/cozo/blob/main/TUNING_ROCKSDB.md) RocksDB options.
3535
storage-rocksdb = ["dep:cozorocks"]
36+
storage-new-rocksdb = ["dep:rocksdb"]
3637
## Enables the graph algorithms.
3738
graph-algo = ["graph", "rayon"]
3839
## Allows the utilities to make web requests to fetch data.
@@ -120,6 +121,7 @@ rayon = { version = "1.10.0", optional = true }
120121
minreq = { version = "2.11.2", features = ["https-rustls"], optional = true }
121122
tikv-jemallocator-global = { version = "0.5.0", optional = true }
122123
cozorocks = { path = "../cozorocks", version = "0.1.7", optional = true }
124+
rocksdb = { version = "0.22.0", optional = true }
123125
sled = { version = "0.34.7", optional = true }
124126
tikv-client = { version = "0.3.0", optional = true }
125127
tokio = { version = "1.37.0", optional = true }
@@ -139,3 +141,6 @@ aho-corasick = "1.1.3"
139141
rust-stemmers = "1.2.0"
140142
fast2s = "0.3.1"
141143
swapvec = "0.3.0"
144+
145+
[dev-dependencies]
146+
tempfile = "3.14.0"

0 commit comments

Comments
 (0)