forked from 1b-agent/opencadstudio-upstream
Plugins read the host's document through a shared reference across the dynamic-library boundary, and the entity index hashed with foldhash's per-process seed, so every handle lookup from the plugin missed. The codec now uses a fixed hasher (opencadcodec f385f75; kernel 9841749, graph e9c23ad). The Python IPC suite also caught up with intended changes: ATTDEF renders its tag, DXF now keeps the lock-position flag, and the modify audit turns associative arrays off since it checks loose copies. The rate-limiter test waits for the host's check instead of a fixed sleep that raced on macOS, and ENV_LOCK no longer cascades a poisoned lock into every later test. 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 = "f385f75", 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"
|