@mediar-ai/terminator 0.23.36 → 0.23.44

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/Cargo.toml CHANGED
@@ -17,7 +17,15 @@ napi = { version = "2.12.2", default-features = false, features = [
17
17
  napi-derive = "2.12.2"
18
18
  terminator = { workspace = true }
19
19
  tracing-subscriber = { workspace = true }
20
+ serde = { version = "1.0", features = ["derive"] }
20
21
  serde_json = "1.0"
22
+ # For Gemini Vision image processing and HTTP requests
23
+ base64 = "0.22"
24
+ image = { version = "0.25", default-features = false, features = ["png"] }
25
+ reqwest = { version = "0.12", default-features = false, features = ["json", "rustls-tls"] }
26
+ # For blocking on async in sync context
27
+ futures = "0.3"
21
28
 
22
29
  [build-dependencies]
23
30
  napi-build = "2.0.1"
31
+ static_vcruntime = "2.0"
package/build.rs CHANGED
@@ -1,4 +1,9 @@
1
1
  extern crate napi_build;
2
+
2
3
  fn main() {
4
+ // Statically link VC runtime to avoid VCRUNTIME140.dll dependency
5
+ // This ensures the native module works on fresh Windows installs and Windows Sandbox
6
+ static_vcruntime::metabuild();
7
+
3
8
  napi_build::setup();
4
9
  }