Implement chrs-election: Stateful weighted leader election following original CHORUS specs

This commit is contained in:
anthonyrawlins
2026-03-04 04:49:03 +11:00
parent 83ef40d3e2
commit 6bc78f4854
908 changed files with 739 additions and 32 deletions

17
Cargo.lock generated
View File

@@ -406,6 +406,7 @@ dependencies = [
"chrs-code-edit",
"chrs-council",
"chrs-discovery",
"chrs-election",
"chrs-exec",
"chrs-graph",
"chrs-mail",
@@ -510,6 +511,22 @@ dependencies = [
"tokio",
]
[[package]]
name = "chrs-election"
version = "0.1.0"
dependencies = [
"chrono",
"chrs-council",
"chrs-discovery",
"chrs-mail",
"rand",
"serde",
"serde_json",
"thiserror 1.0.69",
"tokio",
"uuid",
]
[[package]]
name = "chrs-exec"
version = "0.1.0"