The crate is the per-node metrics/logging pipe with a universal subscriber endpoint, but "datastream" kept getting misread as a general messaging plane. Rename crate, module paths, and public API (`DatastreamEndpoint` → `TelemetryEndpoint`, etc.) so misuse is visible on sight. Renamed contracts (all in-repo producers/consumers migrated): - env vars `MYELIN_DATASTREAM_*` → `MYELIN_TELEMETRY_*` - artifact `datastream.ndjson` → `telemetry.ndjson` - actor names `telemetry-publisher` / `telemetry-sink` - wire ALPN `swactor/telemetry/0` - `DATASTREAM_SPEC.md` → `TELEMETRY_SPEC.md` Also fixes two latent test breaks: `process` and `iroh-driver` tests imported `DatastreamEvent` from the crate root, which was never re-exported; they now use the observer path `telemetry::frame::`.
52 lines
1.2 KiB
TOML
52 lines
1.2 KiB
TOML
[package]
|
|
name = "myelin"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
license = "AGPL-3.0-only"
|
|
publish = false
|
|
autobins = false
|
|
|
|
[features]
|
|
default = []
|
|
dashboard = []
|
|
|
|
[dependencies]
|
|
telemetry = { path = "../../crates/telemetry" }
|
|
data-plane = { path = "../../crates/data-plane" }
|
|
provisioning = { path = "../../crates/provisioning" }
|
|
dashboard = { path = "../../crates/dashboard" }
|
|
serde_json = "1"
|
|
serde = { version = "1", features = ["derive"] }
|
|
swactor = { path = "../..", features = ["serde", "transport"] }
|
|
swactor-engine = { path = "../../crates/engine" }
|
|
swactor-transport = { path = "../../crates/transport" }
|
|
swactor-process = { path = "../../crates/process" }
|
|
distribution = { path = "../../crates/distribution" }
|
|
iroh-driver = { path = "../../crates/iroh-driver" }
|
|
iroh = "0.98"
|
|
tokio.workspace = true
|
|
swactor-vastai = { path = "../../tools/vastai" }
|
|
parking_lot = "0.12"
|
|
blake3 = "1"
|
|
toml = "0.8"
|
|
ureq = "2"
|
|
|
|
[dev-dependencies]
|
|
wiremock = "0.6"
|
|
|
|
[target.'cfg(target_os = "linux")'.dependencies]
|
|
libc = "0.2"
|
|
signal-hook = "0.3"
|
|
|
|
[[bin]]
|
|
name = "myelin-worker"
|
|
path = "src/bin/worker_node.rs"
|
|
|
|
[[bin]]
|
|
name = "myelin-orchestrator"
|
|
path = "src/bin/orchestrator.rs"
|
|
|
|
[[bin]]
|
|
name = "myelin-chat"
|
|
path = "src/bin/chat.rs"
|
|
|