forked from 1b-agent/opencadstudio-upstream
A save records the entered model viewport (or the sheet) as the layout's last active viewport, and opening the layout enters it again with its UCS. Picks up the codec fix that kept a last-active link from being read as the sheet viewport (codec d57097c, kernel b40fa59, graph 2360341). Co-Authored-By: Claude Opus 5.5 <[email protected]>
22 lines
630 B
TOML
22 lines
630 B
TOML
[package]
|
|
name = "ocs_web_worker"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
publish = false
|
|
|
|
[lib]
|
|
crate-type = ["cdylib"]
|
|
|
|
[dependencies]
|
|
codec = { package = "opencadcodec", git = "https://github.com/HakanSeven12/opencadcodec.git", rev = "d57097c", features = ["serde"] }
|
|
bincode = "1.3"
|
|
serde = { version = "1", features = ["derive"] }
|
|
console_error_panic_hook = "0.1"
|
|
getrandom = { version = "0.3", features = ["wasm_js"] }
|
|
js-sys = "0.3"
|
|
# Shared save serialization + worker wire format (one implementation for both
|
|
# this worker and the app's inline fallback).
|
|
ocs_save = { path = "../ocs_save" }
|
|
sha2 = "0.10"
|
|
wasm-bindgen = "0.2"
|