forked from 1b-agent/opencadstudio-upstream
The codec keeps dynamic-block, associative and material records intact on DWG save (strict readers rejected re-saved drawings at BLOCKSCALEACTION, associative action bodies and MATERIAL records). A checker material texture no longer rewrites the native map source, so a map with a procedural texture counts as content whatever its source says. Valuable parts of #1671 (with opencadcodec#100): measured on 235 sample drawings re-saved after an edit, a strict reader now rejects 4 instead of 7; the remaining 4 are R14/R2000 tables, which the PR codec also fails. Co-Authored-By: Claude Opus 5.5 <[email protected]>
16 lines
608 B
TOML
16 lines
608 B
TOML
[package]
|
|
name = "ocs_save"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
publish = false
|
|
|
|
# Pure-Rust SAVE pipeline pieces shared by the app crate (native host and the
|
|
# main wasm instance) and the browser parse/serialize worker (`ocs_web_worker`),
|
|
# so the DWG/DXF byte serialization and the worker wire format each have
|
|
# exactly one implementation. No UI/app dependencies — only the codec + serde.
|
|
|
|
[dependencies]
|
|
codec = { package = "opencadcodec", git = "https://github.com/HakanSeven12/opencadcodec.git", rev = "3ec70a2", features = ["serde"] }
|
|
bincode = "1.3"
|
|
serde = { version = "1", features = ["derive"] }
|