[package] name = "soundcraft-web" description = "SoundCraft in the browser (eframe web runner, WebGPU with WebGL2 fallback, WebAudio playback)" version.workspace = true edition.workspace = true license.workspace = true publish = false [lints] workspace = true [[bin]] name = "soundcraft-web" path = "src/main.rs" [target.'cfg(target_arch = "wasm32")'.dependencies] soundcraft-engine = { workspace = true } soundcraft-ui-egui = { workspace = true } soundcraft-playback = { workspace = true } soundcraft-model = { workspace = true } egui = { workspace = true } log = { workspace = true } serde_json = { workspace = true } rfd = { workspace = true } js-sys = "0.3" # `wgpu` pulls egui-wgpu's defaults: WebGPU plus the WebGL2 fallback. eframe = { workspace = true, features = ["default_fonts", "wgpu", "accesskit"] } wasm-bindgen = "0.2" wasm-bindgen-futures = "0.4" web-sys = { version = "0.3", features = ["Window", "Document", "Element", "HtmlElement", "HtmlCanvasElement", "Location", "HtmlAnchorElement", "Blob", "BlobPropertyBag", "Url", "CssStyleDeclaration"] }