4 commits, squashed; the originals stay reachable from tag archive/merge-main-develop. -4e26dc640jyviko: The command line and the web app link SMLib by default too -826f36a79jyviko: CI and releases fetch SMLib before building -8aea8e5a8jyviko: Format 40: a thread's hand on tapped holes too; v0.24.0's handedness opens as hand -652d3a2cbjyviko: ui: main's browser picks (#4774) read the placed model through session_world Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DtL5M41G8Nua7HvuFPZkmJ
46 lines
1.8 KiB
TOML
46 lines
1.8 KiB
TOML
[package]
|
|
name = "solidcraft-web"
|
|
description = "SolidCraft 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 = "solidcraft-web"
|
|
path = "src/main.rs"
|
|
|
|
[features]
|
|
default = ["smlib"]
|
|
bundled-render-library = ["solidcraft-engine/bundled-render-library"]
|
|
# Link SMLib into the kernel (solidcraft-engine/smlib; needs scripts/fetch-smlib.sh
|
|
# wasm32-unknown-unknown, or the sources and wasi-sdk in WASI_SDK_PATH, crates/smlib/build.rs). SMLib
|
|
# is the only kernel, so without it the web app models nothing.
|
|
smlib = ["solidcraft-engine/smlib"]
|
|
|
|
[dependencies]
|
|
solidcraft-engine = { workspace = true }
|
|
solidcraft-ui-egui = { workspace = true }
|
|
egui = { workspace = true }
|
|
log = { workspace = true }
|
|
url = "2"
|
|
percent-encoding = "2"
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
|
eframe = { workspace = true, features = ["default_fonts", "wgpu", "accesskit"] }
|
|
wasm-bindgen = "0.2"
|
|
wasm-bindgen-futures = "0.4"
|
|
js-sys = "0.3"
|
|
serde_json = { workspace = true }
|
|
web-sys = { version = "0.3", features = [
|
|
"Window", "Document", "Element", "HtmlElement", "HtmlCanvasElement", "Location", "Navigator", "StorageManager",
|
|
"FileSystemHandle", "FileSystemDirectoryHandle", "FileSystemFileHandle", "FileSystemGetFileOptions", "FileSystemWritableFileStream",
|
|
"WritableStream", "File", "FileList", "Blob", "BlobPropertyBag", "Url", "HtmlAnchorElement", "HtmlInputElement", "Storage",
|
|
"IdbFactory", "IdbDatabase", "IdbObjectStore", "IdbOpenDbRequest", "IdbRequest", "IdbTransaction", "IdbTransactionMode",
|
|
"Headers", "ReadableStream", "ReadableStreamDefaultReader",
|
|
"BeforeUnloadEvent", "Event", "EventTarget", "KeyboardEvent", "Response", "FormData", "RequestInit", "MediaQueryList", "Gamepad", "Performance",
|
|
] }
|