- isokit-wasm: wasm-bindgen build of the engine; a project in memory behind the same JSON API as `isokit studio`, plus the MCP tools - isokit-project: Store trait (FsStore folder, MemStore memory) under a generic Workspace; Project::from_files; shared Studio API module (api.rs) used by serve.rs and the WASM build; web_time for clocks in the browser - studio.js runs on a pluggable backend (window.IsoKitBackend); no Studio keys while a dialog is open - web/: projects in IndexedDB, new/demo/delete, zip export/import (stored and deflated), folder import by drop or picker, folders opened live via File System Access with outside edits followed, code editor, page build and preview, two tabs in step, isokit.mcp() and WebMCP registration - tools/build_web.py -> dist/web (static), tools/check_web.py (44 checks)
46 lines
1.1 KiB
TOML
46 lines
1.1 KiB
TOML
[workspace]
|
|
resolver = "2"
|
|
members = [
|
|
"crates/isokit-core",
|
|
"crates/isokit-script",
|
|
"crates/isokit-theme",
|
|
"crates/isokit-project",
|
|
"crates/isokit-cli",
|
|
"crates/isokit-wasm",
|
|
]
|
|
|
|
[workspace.package]
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
license = "MIT"
|
|
authors = ["buildfor.life"]
|
|
repository = "https://git.b4l.co.th/B4L/isokit"
|
|
|
|
[workspace.dependencies]
|
|
isokit-core = { path = "crates/isokit-core" }
|
|
isokit-script = { path = "crates/isokit-script" }
|
|
isokit-theme = { path = "crates/isokit-theme" }
|
|
isokit-project = { path = "crates/isokit-project" }
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
toml = { version = "1", features = ["preserve_order"] }
|
|
rhai = { version = "1.27", default-features = true }
|
|
tiny_http = "0.12"
|
|
clap = { version = "4", features = ["derive"] }
|
|
anyhow = "1"
|
|
web-time = "1"
|
|
# keep in step with the wasm-bindgen CLI (tools/build_web.py checks)
|
|
wasm-bindgen = "=0.2.129"
|
|
|
|
[profile.release]
|
|
lto = "thin"
|
|
codegen-units = 4
|
|
|
|
# the web Studio's engine (tools/build_web.py): small over fast
|
|
[profile.web]
|
|
inherits = "release"
|
|
opt-level = "s"
|
|
lto = true
|
|
codegen-units = 1
|
|
panic = "abort"
|