From 0d625bbe566302b2cacb1a8b34fe8f07b9949d7b Mon Sep 17 00:00:00 2001 From: Karim Jerbi Date: Sun, 18 Oct 2026 00:51:04 +0100 Subject: [PATCH] feat: pin Block Properties Table dependency chain Synchronize codec, kernel and graph revisions so BPT data types remain unified across the workspace. --- Cargo.lock | 8 ++++---- Cargo.toml | 8 ++++---- crates/ocs_plugin_api/Cargo.toml | 4 ++-- crates/ocs_save/Cargo.toml | 2 +- crates/ocs_web_worker/Cargo.toml | 2 +- 5 files changed, 12 insertions(+), 12 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index f1fe57af0..6c9d49637 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -96,7 +96,7 @@ checksum = "366ffbaa4442f4684d91e2cd7c5ea7c4ed8add41959a31447066e279e432b618" [[package]] name = "acadrust" version = "0.6.4" -source = "git+https://github.com/HakanSeven12/opencadcodec.git?rev=a01df94#a01df9485bc1f400a1e57a19a7a994e9b7abbfe2" +source = "git+https://github.com/HakanSeven12/opencadcodec.git?rev=12d68e4#12d68e472d52a137f7d6f338e576d882ae219548" dependencies = [ "anyhow", "bitflags 2.13.1", @@ -4406,7 +4406,7 @@ dependencies = [ [[package]] name = "opencadgraph" version = "0.1.0" -source = "git+https://github.com/HakanSeven12/opencadgraph.git?rev=15bfbda#15bfbda14089d3c601464dfd2481c0de73f544e7" +source = "git+https://github.com/HakanSeven12/opencadgraph.git?rev=79b75b8#79b75b8a69fee7d9b6cc7bea962c77320f016f86" dependencies = [ "opencadkernel", "serde_json", @@ -4415,7 +4415,7 @@ dependencies = [ [[package]] name = "opencadkernel" version = "0.1.0" -source = "git+https://github.com/HakanSeven12/opencadkernel.git?rev=0574444#0574444fddbac2150b17dafa1878ee293293a14d" +source = "git+https://github.com/HakanSeven12/opencadkernel.git?rev=80a8a26#80a8a26b4fde107eb7050a5168d463221b42c0b1" dependencies = [ "acadrust", "cavalier_contours", @@ -4426,7 +4426,7 @@ dependencies = [ [[package]] name = "opencadkernel-constraints" version = "0.1.0" -source = "git+https://github.com/HakanSeven12/opencadkernel.git?rev=0574444#0574444fddbac2150b17dafa1878ee293293a14d" +source = "git+https://github.com/HakanSeven12/opencadkernel.git?rev=80a8a26#80a8a26b4fde107eb7050a5168d463221b42c0b1" dependencies = [ "nalgebra", ] diff --git a/Cargo.toml b/Cargo.toml index 881c6c375..6b132b77c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -37,10 +37,10 @@ rfd = "0.17" clap = { version = "4", features = ["derive", "string"] } env_logger = "0.11" log = "0.4" -codec = { package = "acadrust", git = "https://github.com/HakanSeven12/opencadcodec.git", rev = "a01df94", features = ["serde"] } -kernel = { package = "opencadkernel", git = "https://github.com/HakanSeven12/opencadkernel.git", rev = "0574444", features = ["acis", "offset"] } -kernel-constraints = { package = "opencadkernel-constraints", git = "https://github.com/HakanSeven12/opencadkernel.git", rev = "0574444" } -graph = { package = "opencadgraph", git = "https://github.com/HakanSeven12/opencadgraph.git", rev = "15bfbda" } +codec = { package = "acadrust", git = "https://github.com/HakanSeven12/opencadcodec.git", rev = "12d68e4", features = ["serde"] } +kernel = { package = "opencadkernel", git = "https://github.com/HakanSeven12/opencadkernel.git", rev = "80a8a26", features = ["acis", "offset"] } +kernel-constraints = { package = "opencadkernel-constraints", git = "https://github.com/HakanSeven12/opencadkernel.git", rev = "80a8a26" } +graph = { package = "opencadgraph", git = "https://github.com/HakanSeven12/opencadgraph.git", rev = "79b75b8" } dwg-thumbnailer = { path = "crates/dwg-thumbnailer" } # Shared SAVE serialization dispatch + web-worker wire format: one # implementation for the inline (fallback/native) path and the worker path. diff --git a/crates/ocs_plugin_api/Cargo.toml b/crates/ocs_plugin_api/Cargo.toml index 9f39e38b1..8e522a301 100644 --- a/crates/ocs_plugin_api/Cargo.toml +++ b/crates/ocs_plugin_api/Cargo.toml @@ -15,7 +15,7 @@ serde_json = { version = "1", optional = true } # Pulled in only by the `host` feature, which adds the `opencadcodec`-typed # `HostApi` runtime surface. The default crate stays dependency-free so engine # crates and external tooling can depend on the manifest/ribbon contract cheaply. -codec = { package = "acadrust", git = "https://github.com/HakanSeven12/opencadcodec.git", rev = "a01df94", optional = true, features = ["serde"] } +codec = { package = "acadrust", git = "https://github.com/HakanSeven12/opencadcodec.git", rev = "12d68e4", optional = true, features = ["serde"] } # Runtime IPC and serialization (host feature only). interprocess = { version = "2", optional = true } @@ -39,7 +39,7 @@ serde_json = "1" serde = { version = "1", features = ["derive"] } cargo-lock = "11" # opencadcodec is scanned at build time to generate the embedded type registry. -codec = { package = "acadrust", git = "https://github.com/HakanSeven12/opencadcodec.git", rev = "a01df94", features = ["serde"] } +codec = { package = "acadrust", git = "https://github.com/HakanSeven12/opencadcodec.git", rev = "12d68e4", features = ["serde"] } [dev-dependencies] serde_json = "1" diff --git a/crates/ocs_save/Cargo.toml b/crates/ocs_save/Cargo.toml index 5d161d04b..7528b8e14 100644 --- a/crates/ocs_save/Cargo.toml +++ b/crates/ocs_save/Cargo.toml @@ -10,6 +10,6 @@ publish = false # exactly one implementation. No UI/app dependencies — only the codec + serde. [dependencies] -codec = { package = "acadrust", git = "https://github.com/HakanSeven12/opencadcodec.git", rev = "a01df94", features = ["serde"] } +codec = { package = "acadrust", git = "https://github.com/HakanSeven12/opencadcodec.git", rev = "12d68e4", features = ["serde"] } bincode = "1.3" serde = { version = "1", features = ["derive"] } diff --git a/crates/ocs_web_worker/Cargo.toml b/crates/ocs_web_worker/Cargo.toml index 5aecf95a1..392b8ee58 100644 --- a/crates/ocs_web_worker/Cargo.toml +++ b/crates/ocs_web_worker/Cargo.toml @@ -8,7 +8,7 @@ publish = false crate-type = ["cdylib"] [dependencies] -codec = { package = "acadrust", git = "https://github.com/HakanSeven12/opencadcodec.git", rev = "a01df94", features = ["serde"] } +codec = { package = "acadrust", git = "https://github.com/HakanSeven12/opencadcodec.git", rev = "12d68e4", features = ["serde"] } bincode = "1.3" serde = { version = "1", features = ["derive"] } console_error_panic_hook = "0.1"