Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

fix: windows compilation with new vad library

Joe Goldinb8193b9c31fe
diff --git a/.cargo/config.toml b/.cargo/config.toml
index d83b6f1d4..7c06a589b 100644
--- a/.cargo/config.toml
+++ b/.cargo/config.toml
@@ -2,4 +2,4 @@
rustflags = [
"-C", "target-feature=-crt-static",
"-C", "link-args=/NODEFAULTLIB:libcmt.lib"
-]
\ No newline at end of file
+]
diff --git a/screenpipe-audio/Cargo.toml b/screenpipe-audio/Cargo.toml
index 96990ad68..8b34f83ab 100644
--- a/screenpipe-audio/Cargo.toml
+++ b/screenpipe-audio/Cargo.toml
@@ -45,6 +45,10 @@ symphonia = { version = "0.5.4", features = ["aac", "isomp4", "opt-simd"] }
rand = "0.8.5"
rubato = "0.15.0"
+v8 = { version = "0.106.0"}
+ort = { version = "2.0.0-rc.5", features = ["load-dynamic"], default-features = false }
+esaxx-rs = "0.1.10"
+
# Log
log = { workspace = true }
env_logger = "0.10"
diff --git a/screenpipe-vision/Cargo.toml b/screenpipe-vision/Cargo.toml
index c13333ca1..56e2a5c2a 100644
--- a/screenpipe-vision/Cargo.toml
+++ b/screenpipe-vision/Cargo.toml
@@ -90,4 +90,7 @@ xcap = "0.0.13" # memory leak fix, also for some reason 0.0.13 doesn't work on w
[target.'cfg(target_os = "linux")'.dependencies]
libc = "0.2"
-xcap = "0.0.12"
\ No newline at end of file
+xcap = "0.0.12"
+
+[target.'cfg(target_env = "msvc")'.dependencies.vcpkg]
+version = "0.2"