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

vcpkg dep for windows build

matthew-heartful484b6b1542e2
diff --git a/Cargo.toml b/Cargo.toml
index 277ccf58d..409b30415 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -33,9 +33,13 @@ hf-hub = "0.3.0"
crossbeam = "0.8.4"
image = "0.25"
reqwest = { version = "0.11", features = ["blocking", "multipart", "json"] }
-
-# dev
criterion = { version = "0.5.1", features = ["async_tokio"] }
+vcpkg = "0.2"
+
+[workspace.metadata.vcpkg]
+dependencies = ["onnxruntime"]
+git = "https://github.com/microsoft/vcpkg"
+rev = "2023.04.15"
diff --git a/screenpipe-audio/Cargo.toml b/screenpipe-audio/Cargo.toml
index 0d2f92f0f..0f9f99479 100644
--- a/screenpipe-audio/Cargo.toml
+++ b/screenpipe-audio/Cargo.toml
@@ -67,6 +67,9 @@ screenpipe-core = { path = "../screenpipe-core" }
once_cell = "1.17.1"
objc = "0.2.7"
+[target.'cfg(target_os = "windows")'.dependencies]
+vcpkg = { workspace = true }
+
[dev-dependencies]
tempfile = "3.3.0"
infer = "0.15"
@@ -93,3 +96,4 @@ harness = false
[[bench]]
name = "stt_benchmark"
harness = false
+