|
|
1 месяц назад | |
|---|---|---|
| .. | ||
| src | 1 месяц назад | |
| Cargo.lock | 1 месяц назад | |
| Cargo.toml | 1 месяц назад | |
| README.md | 1 месяц назад | |
This executable forwards the existing --host, --port and --repo-root arguments to tools/board-viewer/board_viewer.py serve. Default values remain 127.0.0.1, 8765 and the current directory. Non-loopback host handling and the normal 25-port fallback come from the Python CLI.
Install the normal board-viewer Python dependencies (including jsonschema). Set BOARD_VIEWER_PYTHON to an interpreter executable path if it is not python3 on Unix or python on Windows. This variable is a single executable path, not a shell command.
cargo build --release --manifest-path tools/board-viewer/rust-server/Cargo.toml
tools/board-viewer/rust-server/target/release/board-viewer-rs --repo-root /workspace/cpld-temperature-control --host 127.0.0.1 --port 8765
The previous independent Rust HTTP implementation returned a fabricated passing validation status and could deadlock while precompressing large assets through two pipes. Serving and validation now share the Python implementation; this launcher neither reports its own validation result nor compresses assets. Rust WebAssembly rendering is separate and remains available through the normal web client.