2026-06-08 20:07:39 +03:00
|
|
|
[package]
|
|
|
|
|
name = "omnigraph-cluster"
|
2026-06-12 13:21:03 +03:00
|
|
|
version = "0.7.0"
|
2026-06-08 20:07:39 +03:00
|
|
|
edition = "2024"
|
2026-06-10 02:12:59 +03:00
|
|
|
description = "Cluster configuration validation, planning, and config-only apply for Omnigraph."
|
2026-06-08 20:07:39 +03:00
|
|
|
license = "MIT"
|
|
|
|
|
repository = "https://github.com/ModernRelay/omnigraph"
|
|
|
|
|
homepage = "https://github.com/ModernRelay/omnigraph"
|
|
|
|
|
documentation = "https://docs.rs/omnigraph-cluster"
|
|
|
|
|
|
2026-06-10 02:12:59 +03:00
|
|
|
[features]
|
|
|
|
|
# Fault-injection hooks for the apply protocol (crash-mid-apply, CAS-race
|
|
|
|
|
# tests). Deliberately does NOT enable omnigraph/failpoints.
|
|
|
|
|
failpoints = ["dep:fail", "fail/failpoints"]
|
|
|
|
|
|
2026-06-08 20:07:39 +03:00
|
|
|
[dependencies]
|
2026-06-12 13:21:03 +03:00
|
|
|
omnigraph-compiler = { path = "../omnigraph-compiler", version = "0.7.0" }
|
|
|
|
|
omnigraph = { package = "omnigraph-engine", path = "../omnigraph", version = "0.7.0" }
|
2026-06-10 02:12:59 +03:00
|
|
|
fail = { workspace = true, optional = true }
|
2026-06-08 20:07:39 +03:00
|
|
|
serde = { workspace = true }
|
|
|
|
|
serde_json = { workspace = true }
|
|
|
|
|
serde_yaml = { workspace = true }
|
|
|
|
|
sha2 = { workspace = true }
|
|
|
|
|
thiserror = { workspace = true }
|
2026-06-08 21:09:23 +03:00
|
|
|
time = { workspace = true }
|
2026-06-11 14:11:14 +03:00
|
|
|
# Runtime handle only — best-effort async lock release in
|
|
|
|
|
# StateLockGuard::drop on object-store backends (cluster commands always
|
|
|
|
|
# run inside the caller's tokio runtime).
|
|
|
|
|
tokio = { workspace = true }
|
2026-06-08 21:09:23 +03:00
|
|
|
ulid = { workspace = true }
|
2026-06-08 20:07:39 +03:00
|
|
|
|
|
|
|
|
[dev-dependencies]
|
|
|
|
|
tempfile = { workspace = true }
|
2026-06-08 23:18:44 +03:00
|
|
|
tokio = { workspace = true }
|