mirror of
https://github.com/ModernRelay/omnigraph.git
synced 2026-06-09 01:35:18 +02:00
deps: add arc-swap to workspace for PR 2 catalog/schema_source wrapping
PR 2 wraps the Omnigraph engine's catalog and schema_source fields in ArcSwap so reads stay zero-cost while apply_schema can swap atomically without &mut self. arc-swap lands as an unused workspace dep here so the follow-up commits that wrap fields can land in isolation. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
c12f6adb0c
commit
cd780e2d37
3 changed files with 3 additions and 0 deletions
1
Cargo.lock
generated
1
Cargo.lock
generated
|
|
@ -4639,6 +4639,7 @@ dependencies = [
|
|||
name = "omnigraph-engine"
|
||||
version = "0.4.1"
|
||||
dependencies = [
|
||||
"arc-swap",
|
||||
"arrow-array",
|
||||
"arrow-cast",
|
||||
"arrow-ord",
|
||||
|
|
|
|||
|
|
@ -56,6 +56,7 @@ tower-http = { version = "0.6", features = ["trace"] }
|
|||
color-eyre = "0.6"
|
||||
tempfile = "3"
|
||||
ahash = "0.8"
|
||||
arc-swap = "1"
|
||||
base64 = "0.22"
|
||||
ariadne = "0.4"
|
||||
regex = "1"
|
||||
|
|
|
|||
|
|
@ -47,6 +47,7 @@ time = { workspace = true }
|
|||
async-trait = { workspace = true }
|
||||
url = { workspace = true }
|
||||
chrono = { workspace = true }
|
||||
arc-swap = { workspace = true }
|
||||
|
||||
[dev-dependencies]
|
||||
omnigraph-compiler = { path = "../omnigraph-compiler", version = "0.4.1" }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue