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::`.
28 lines
838 B
TOML
28 lines
838 B
TOML
[package]
|
|
name = "iroh-driver"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
license = "AGPL-3.0-only"
|
|
|
|
[lib]
|
|
name = "iroh_driver"
|
|
path = "src/lib.rs"
|
|
|
|
[dependencies]
|
|
swactor = { path = "../..", features = ["serde", "transport"] }
|
|
swactor-engine = { path = "../engine" }
|
|
swactor-transport = { path = "../transport" }
|
|
distribution = { path = "../distribution" }
|
|
telemetry = { path = "../telemetry" }
|
|
crossbeam-channel = "0.5"
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
iroh = "0.98"
|
|
# `test-utils` exposes `CaRootsConfig::insecure_skip_verify()` so clients can
|
|
# trust operator-controlled custom relays with self-signed QAD certs.
|
|
iroh-relay = { version = "0.98", features = ["test-utils"] }
|
|
tokio.workspace = true
|
|
parking_lot = "0.12"
|
|
|
|
[dev-dependencies]
|
|
iroh-relay = { version = "0.98", features = ["server", "test-utils"] }
|