Scale computer-use 2.0 with open-source drivers, cross-OS sandboxes, and benchmarks for training, evaluation, and data generation.
Rust agentai-agentapplecomputer-usecomputer-use-agentcontainerizationcuadesktop-automationhacktoberfestlumemacosmanusoperatorswiftvirtualizationvirtualization-frameworkwindowswindows-sandbox
fix(cua-driver): constrain incompatible zune-core resolution (#2984)
Francesco Bonacci1979ab73fdcd
diff --git a/libs/cua-driver/rust/Cargo.lock b/libs/cua-driver/rust/Cargo.lockindex 50a764e002..b97971cbbd 100644--- a/libs/cua-driver/rust/Cargo.lock+++ b/libs/cua-driver/rust/Cargo.lock@@ -1059,6 +1059,7 @@ dependencies = ["url","uuid","windows 0.58.0",+ "zune-core",][[package]]diff --git a/libs/cua-driver/rust/Cargo.toml b/libs/cua-driver/rust/Cargo.tomlindex 68dc7f97a9..c0ec8949ab 100644--- a/libs/cua-driver/rust/Cargo.toml+++ b/libs/cua-driver/rust/Cargo.toml@@ -34,6 +34,10 @@ tracing-subscriber = { version = "0.3", features = ["env-filter"] }base64 = "0.22"uuid = { version = "1", features = ["v4"] }image = { version = "0.25", default-features = false, features = ["png", "jpeg"] }+# zune-jpeg 0.5.15 accepts zune-core ^0.5, but zune-core 0.5.2 changed its+# disabled logging macros in a source-incompatible way. Keep fresh downstream+# resolution on the last compatible pair until zune-jpeg publishes its fix.+zune-core = "=0.5.1"uniffi = "=0.31.0"postcard = { version = "1", features = ["alloc"] }sha2 = "0.10"diff --git a/libs/cua-driver/rust/crates/cua-driver-core/Cargo.toml b/libs/cua-driver/rust/crates/cua-driver-core/Cargo.tomlindex 508d1c251d..8171b241c8 100644--- a/libs/cua-driver/rust/crates/cua-driver-core/Cargo.toml+++ b/libs/cua-driver/rust/crates/cua-driver-core/Cargo.toml@@ -25,6 +25,10 @@ regorus = { version = "0.10.1", optional = true }# helpers extracted from `platform-{macos,windows,linux}/src/capture.rs` so# all three platforms call the same code path.image = { workspace = true }+# Compatibility constraint for image's zune-jpeg decoder. This dependency is+# intentionally direct so SDK consumers without this workspace lockfile cannot+# resolve the incompatible zune-core 0.5.2 release.+zune-core = { workspace = true }# Used by the `browser` module's pooled CDP browser-endpoint WebSocket.# Same versions platform-macos already depends on, to avoid duplicate# crate versions in the workspace graph. No TLS features: the endpoint