By meaning: - Page: app.js keeps the age parameters and paragraph and adds debug=binding; imports, state and roomTest hooks of age, co and binding side by side. index.html carries the co section and the binding table, each with its CSS. - room.e2e.mjs carries scenarioBinding whole beside scenarioAge and scenarioCo; default list `...,age,co` with a room, `binding` always; run.sh's node unit tests are every page module's (capsule, media, presentation, privacy-pass, binding). - wai-live-web: the wai dependency takes co_performance and browser_sink; the crate doc lists both. - joule-moq-web README: one node-test bullet for capsule, media and binding, then privacy-pass and ad-presentation; scenarios age, co and binding. - REGISTRY prose names exploration and browser-sink together; the shared lists keep both sides; export regenerated. Co-Authored-By: Claude Opus 5.5 <[email protected]>
40 lines
1.7 KiB
TOML
40 lines
1.7 KiB
TOML
[package]
|
|
name = "wai-live-web"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
license = "Apache-2.0"
|
|
description = "WAI's live records for a page: the integer layout and mixer of live-compose, the room's lifecycle replay, the composition at an instant, signed events and captions, and the WAI1 envelope, built from wai-rs for wasm32-unknown-unknown. The same functions build natively, so a test compares the browser's rectangles with the host's."
|
|
|
|
[lib]
|
|
crate-type = ["cdylib", "rlib"]
|
|
|
|
[[bin]]
|
|
# A room for the browser client's end-to-end tests, and the composition the host computes
|
|
# for it (see src/bin/wai_live_web.rs).
|
|
name = "wai_live_web"
|
|
path = "src/bin/wai_live_web.rs"
|
|
|
|
[dependencies]
|
|
# Only the live records (co-performance's among them, and the browser sink's) and the envelope:
|
|
# no codec chain, nothing native.
|
|
wai = { path = "../wai-rs", default-features = false, features = ["live_compose", "timed_text", "co_performance", "browser_sink"] }
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = { version = "1", features = ["preserve_order"] }
|
|
ed25519-dalek = "2"
|
|
sha2 = "0.10"
|
|
hex = "0.4"
|
|
# Pinned to the wasm-bindgen CLI the build runs: the two must match exactly.
|
|
wasm-bindgen = "=0.2.127"
|
|
|
|
[features]
|
|
# A decoder on the browser sink's wasm route (WAI extensions/browser-sink.md §4.3, §7.2):
|
|
# `decodeBound` verifies a `wai.video.int_motion` envelope against its receipts, decodes it
|
|
# with the integer decoder and binds every frame. Built as a second wasm,
|
|
# `wai_live_web_decode`, that a page loads only when an object routes to wasm, so the room's
|
|
# own build carries none of the decoder.
|
|
int_video = ["wai/video_int"]
|
|
|
|
[profile.release]
|
|
opt-level = 3
|
|
lto = true
|
|
codegen-units = 1
|