feat!: surrealdb 2.0, remove CreateVersion::Single, fix OVERWRITE_DB

This commit is contained in:
Elijah McMorris 2024-09-18 20:05:37 -07:00
parent 6dcb9fd043
commit 4663a862a4
Signed by: NexVeridian
SSH key fingerprint: SHA256:bsA1SKZxuEcEVHAy3gY1HUeM5ykRJl0U0kQHQn0hMg8
13 changed files with 328 additions and 245 deletions

View file

@ -8,7 +8,7 @@ license = "MIT OR Apache-2.0"
anyhow = "1.0"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
surrealdb-alpha = { version = "2.0.9", features = ["protocol-http", "kv-mem"] }
surrealdb = { version = "2.0.1", features = ["protocol-http", "kv-mem"] }
tokio = { version = "1.39", features = ["fs", "time"] }
futures = "0.3"
wikidata = "1.1"
@ -19,7 +19,7 @@ rand = "0.8"
[dev-dependencies]
rstest = "0.22"
surrealdb-alpha = { version = "2.0.9", features = ["kv-mem"] }
surrealdb = { version = "2.0.1", features = ["kv-mem"] }
criterion = { version = "0.5", features = ["async_tokio"] }
pprof = { version = "0.13", features = ["criterion", "protobuf-codec"] }