NAP-218. The registry's `GET /` now serves the built web bundle from `web/dist/` (embedded into the binary at compile time via rust-embed) instead of the NAP-215 placeholder, and `GET /assets/*` serves the hashed JS/CSS chunks Vite produces. When `web/dist` is empty (fresh checkout without `pnpm build`), a small fallback page tells the operator to run the JS build. That keeps `cargo run -p maestro-registry` usable without a node toolchain installed. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
39 lines
1.3 KiB
TOML
39 lines
1.3 KiB
TOML
[workspace]
|
|
resolver = "2"
|
|
members = ["crates/*"]
|
|
|
|
[workspace.package]
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
license = "MIT"
|
|
repository = "https://git.naps.pt/naps62/maestro"
|
|
publish = false
|
|
|
|
[workspace.dependencies]
|
|
axum = { version = "0.7", features = ["ws"] }
|
|
chrono = { version = "0.4", default-features = false, features = ["clock", "serde"] }
|
|
clap = { version = "4.5", features = ["derive", "env"] }
|
|
dirs = "5"
|
|
futures-util = { version = "0.3", default-features = false, features = ["sink", "std"] }
|
|
jsonwebtoken = { version = "9", default-features = false }
|
|
libc = "0.2"
|
|
maestro-protocol = { path = "crates/maestro-protocol" }
|
|
nix = { version = "0.29", default-features = false, features = ["term", "signal"] }
|
|
rand = "0.8"
|
|
reqwest = { version = "0.12", default-features = false, features = ["json", "rustls-tls", "cookies"] }
|
|
rust-embed = "8"
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
tempfile = "3"
|
|
thiserror = "1"
|
|
tokio = { version = "1", features = ["macros", "rt-multi-thread", "sync", "time", "net", "io-util", "fs", "signal", "process"] }
|
|
tokio-tungstenite = "0.21"
|
|
toml = "0.8"
|
|
tracing = "0.1"
|
|
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|
|
uuid = { version = "1", features = ["v4", "serde"] }
|
|
|
|
[profile.release]
|
|
lto = "thin"
|
|
codegen-units = 1
|