mirror of
https://github.com/storytold/materialcraft.git
synced 2026-11-19 14:01:02 +01:00
The README in the Crafting Apps frame with real screenshots and renders made by MaterialCraft, the agent guide with the asset and clean-room rules, the attribution list, the parity assessment, gaps, roadmap, architecture, control protocol, localization and file format docs. Adds the browser build (trunk), the .ico/.icns icons and centers the 3D camera on the mesh bounds. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
28 lines
889 B
TOML
28 lines
889 B
TOML
[package]
|
|
name = "materialcraft-web"
|
|
description = "MaterialCraft in the browser (eframe web runner, WebGPU with WebGL2 fallback)"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
publish = false
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[[bin]]
|
|
name = "materialcraft-web"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
materialcraft-engine = { workspace = true }
|
|
materialcraft-ui-egui = { workspace = true }
|
|
log = { workspace = true }
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
|
# `wgpu` pulls egui-wgpu's defaults: WebGPU plus the WebGL2 fallback.
|
|
eframe = { workspace = true, features = ["default_fonts", "wgpu", "accesskit", "persistence"] }
|
|
wasm-bindgen = "0.2"
|
|
wasm-bindgen-futures = "0.4"
|
|
js-sys = "0.3"
|
|
web-sys = { version = "0.3", features = ["Window", "Document", "Element", "HtmlCanvasElement", "Location", "KeyboardEvent", "EventTarget", "AddEventListenerOptions"] }
|