Registry now reads `[shared].token` and `[registry].bind_addr` from the unified file via maestro-config. First-run token generation does a read-modify-write so `[shared]` / `[cli]` / `[daemon]` sections that already exist on a co-located host stay intact. Env-var renames: - MAESTRO_TOKEN → MAESTRO_SHARED_TOKEN - MAESTRO_REGISTRY_CONFIG → MAESTRO_CONFIG `MAESTRO_REGISTRY_BIND_ADDR` is unchanged. The startup banner now points the operator at `MAESTRO_SHARED_TOKEN` when announcing a freshly generated token. e2e harness updated to use the new env var; auth.rs doc-comment updated to reflect the new env-var name.
41 lines
1.1 KiB
TOML
41 lines
1.1 KiB
TOML
[package]
|
|
name = "maestro-registry"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
repository.workspace = true
|
|
publish.workspace = true
|
|
description = "Always-on registry — daemon presence index and session catalog"
|
|
|
|
[lib]
|
|
path = "src/lib.rs"
|
|
|
|
[[bin]]
|
|
name = "maestro-registry"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
axum.workspace = true
|
|
chrono.workspace = true
|
|
dirs.workspace = true
|
|
futures-util.workspace = true
|
|
jsonwebtoken.workspace = true
|
|
maestro-config.workspace = true
|
|
maestro-protocol.workspace = true
|
|
rand.workspace = true
|
|
rust-embed.workspace = true
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
thiserror.workspace = true
|
|
tokio.workspace = true
|
|
toml.workspace = true
|
|
tracing.workspace = true
|
|
tracing-subscriber.workspace = true
|
|
uuid.workspace = true
|
|
|
|
[dev-dependencies]
|
|
reqwest = { version = "0.12", default-features = false, features = ["json", "rustls-tls", "cookies"] }
|
|
tempfile.workspace = true
|
|
tokio = { workspace = true, features = ["macros", "rt-multi-thread", "sync", "time", "net", "io-util", "test-util"] }
|
|
tokio-tungstenite.workspace = true
|