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(engine): add redact-onnx-cpu to default features

Louis Beaumont6223efeac666
diff --git a/crates/screenpipe-engine/Cargo.toml b/crates/screenpipe-engine/Cargo.toml
index 979f1f396..2a9544621 100644
--- a/crates/screenpipe-engine/Cargo.toml
+++ b/crates/screenpipe-engine/Cargo.toml
@@ -149,7 +149,11 @@ tower = { version = "0.4", features = ["util"] }
criterion = { workspace = true }
[features]
-default = ["qwen3-asr", "parakeet"]
+# redact-onnx-cpu is in defaults because screenpipe-engine.rs unconditionally
+# imports `screenpipe_redact::adapters::onnx` for the async PII worker. Without
+# it, `cargo {check,clippy,build} -p screenpipe-engine` (no --features) fails
+# to compile. Mac/Win release builds layer redact-onnx-{coreml,directml} on top.
+default = ["qwen3-asr", "parakeet", "redact-onnx-cpu"]
metal = ["screenpipe-audio/metal"]
heap-prof = ["dhat"]
cuda = ["screenpipe-audio/cuda"]