Skip to content

Commit

Permalink
Merge pull request #284 from cozo-community/f/newrocks
Browse files Browse the repository at this point in the history
feat: Add support for rust-rocksdb storage engine
  • Loading branch information
zh217 authored Nov 26, 2024
2 parents 695d028 + b16a552 commit b0549df
Show file tree
Hide file tree
Showing 6 changed files with 729 additions and 18 deletions.
169 changes: 152 additions & 17 deletions Cargo.lock

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

5 changes: 5 additions & 0 deletions cozo-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ storage-sqlite-src = ["dep:sqlite3-src", "sqlite3-src/bundled"]
## but is very performant and supports an extremely high level of concurrency.
## You can also [fine-tune](https://github.com/cozodb/cozo/blob/main/TUNING_ROCKSDB.md) RocksDB options.
storage-rocksdb = ["dep:cozorocks"]
storage-new-rocksdb = ["dep:rocksdb"]
## Enables the graph algorithms.
graph-algo = ["graph", "rayon"]
## Allows the utilities to make web requests to fetch data.
Expand Down Expand Up @@ -120,6 +121,7 @@ rayon = { version = "1.10.0", optional = true }
minreq = { version = "2.11.2", features = ["https-rustls"], optional = true }
tikv-jemallocator-global = { version = "0.5.0", optional = true }
cozorocks = { path = "../cozorocks", version = "0.1.7", optional = true }
rocksdb = { version = "0.22.0", optional = true }
sled = { version = "0.34.7", optional = true }
tikv-client = { version = "0.3.0", optional = true }
tokio = { version = "1.37.0", optional = true }
Expand All @@ -139,3 +141,6 @@ aho-corasick = "1.1.3"
rust-stemmers = "1.2.0"
fast2s = "0.3.1"
swapvec = "0.3.0"

[dev-dependencies]
tempfile = "3.14.0"
Loading

0 comments on commit b0549df

Please sign in to comment.