Skip to content

Commit 235ad86

Browse files
committed
feat: remove rocksdb + transactional backends
1 parent c22385f commit 235ad86

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+51
-16335
lines changed

Cargo.lock

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

Cargo.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ members = [
1313

1414
"crates/codegraph-ai",
1515
"crates/codegraph-api",
16-
"crates/codegraph-cli",
1716
"crates/codegraph-napi",
1817
"tests/integration"
1918
]
@@ -72,9 +71,6 @@ arc-swap = "1.7"
7271
num_cpus = "1.16"
7372
sysinfo = "0.37.2"
7473

75-
# Database
76-
rocksdb = "0.24"
77-
7874
# Scientific computing
7975
ndarray = "0.16.1"
8076

config/surrealdb_example.toml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,6 @@
44
# Select SurrealDB as the database backend
55
backend = "surrealdb"
66

7-
# RocksDB configuration (not used when backend is surrealdb, but kept for backward compatibility)
8-
[database.rocksdb]
9-
path = "data/graph.db"
10-
read_only = false
11-
127
# SurrealDB configuration
138
[database.surrealdb]
149
# Connection string options:

crates/codegraph-api/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ anyhow = { workspace = true }
4141
thiserror = { workspace = true }
4242
sysinfo = { workspace = true }
4343
sha2 = { workspace = true }
44+
secrecy = { workspace = true }
4445

4546
# Setup wizard dependencies
4647
dialoguer = "0.11"

0 commit comments

Comments
 (0)