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

chore: remove 50 unused dependencies

Louis Beaumontee0f8c8e7fec
diff --git a/examples/apps/screenpipe-app-tauri/src-tauri/Cargo.toml b/examples/apps/screenpipe-app-tauri/src-tauri/Cargo.toml
index bc4ae05b1..ffea7f5d2 100644
--- a/examples/apps/screenpipe-app-tauri/src-tauri/Cargo.toml
+++ b/examples/apps/screenpipe-app-tauri/src-tauri/Cargo.toml
@@ -16,23 +16,15 @@ tauri-build = { version = "=2.0.0-rc.3", features = [] }
[dependencies]
serde_json = "1.0"
-serde = { version = "1.0", features = ["derive"] }
tauri = { version = "2.0.0-rc.0", features = ["tray-icon", "devtools", "image-png", "image-ico"] }
-screenpipe-vision = { git = "https://github.com/mediar-ai/screenpipe", branch = "main" }
-
-axum = "0.7.5"
# Logging
log = "0.4.17"
-env_logger = "0.11.3"
# Tokio
tokio = { version = "1.36.0", features = ["full"] }
-# Directory management
-dirs = "5.0"
-
# HTTP client
reqwest = { version = "0.12", features = ["json"] }
@@ -51,13 +43,11 @@ tracing-appender = "0.2.3"
tauri-plugin-autostart = "2.0.0-beta.9"
# Chrono
-chrono = "0.4.3"
tauri-plugin-shell = "2.0.0-rc.2"
tauri-plugin-store = "2.0.0-beta"
anyhow = "1.0.71"
-which = "6.0.1"
# System information
sysinfo = "0.29.0"
diff --git a/screenpipe-audio/Cargo.toml b/screenpipe-audio/Cargo.toml
index 3d5f5fb50..f7227d034 100644
--- a/screenpipe-audio/Cargo.toml
+++ b/screenpipe-audio/Cargo.toml
@@ -34,8 +34,6 @@ candle = { workspace = true }
candle-nn = { workspace = true }
candle-transformers = { workspace = true }
tokenizers = { workspace = true }
-lazy_static = "1.4.0"
-base64 = "0.21.7"
anyhow = "1.0.86"
byteorder = "1.5.0"
hf-hub = "0.3.2"
@@ -48,12 +46,6 @@ rubato = "0.15.0"
log = { workspace = true }
env_logger = "0.10"
-# File
-tempfile = "3"
-
-# Tracing
-tracing = { workspace = true }
-
# Bytes
bytemuck = "1.16.1"
diff --git a/screenpipe-core/Cargo.toml b/screenpipe-core/Cargo.toml
index 7781e92f4..c66635be5 100644
--- a/screenpipe-core/Cargo.toml
+++ b/screenpipe-core/Cargo.toml
@@ -8,7 +8,6 @@ license = { workspace = true }
edition = { workspace = true }
[dependencies]
-serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
which = "6.0.1"
log = "0.4.17"
diff --git a/screenpipe-integrations/Cargo.toml b/screenpipe-integrations/Cargo.toml
index 0c92242ff..8a87e5a8c 100644
--- a/screenpipe-integrations/Cargo.toml
+++ b/screenpipe-integrations/Cargo.toml
@@ -10,7 +10,6 @@ edition = { workspace = true }
[dependencies]
image = { workspace = true }
reqwest = { workspace = true }
-rusty-tesseract = { git = "https://github.com/louis030195/rusty-tesseract.git", branch = "main" }
serde_json = "1.0"
tokio = { version = "1.0", features = ["full"] }
uuid = { version = "1.3", features = ["v4", "serde"] }
diff --git a/screenpipe-server/Cargo.toml b/screenpipe-server/Cargo.toml
index d9288409f..af906a779 100644
--- a/screenpipe-server/Cargo.toml
+++ b/screenpipe-server/Cargo.toml
@@ -20,45 +20,26 @@ screenpipe-core = { path = "../screenpipe-core", features = ["security"] }
# Image processing
image = { workspace = true }
-# OCR
-# rusty-tesseract = "1.1.10"
-rusty-tesseract = { git = "https://github.com/louis030195/rusty-tesseract.git", branch = "main" }
-
-# threadpool
-threadpool = "1.8.1"
-num_cpus = "1.0"
-
# Dates
chrono = { version = "0.4.31", features = ["serde"] }
# Database
sqlx = { version = "0.7", features = ["sqlite", "runtime-tokio-native-tls", "chrono", "migrate"] }
-# FFmpeg bindings
-ffmpeg-next = "7.0.2"
-
# Local Embeddings + STT
candle = { workspace = true }
candle-nn = { workspace = true }
candle-transformers = { workspace = true }
tokenizers = { workspace = true }
-lazy_static = "1.4.0"
-base64 = "0.21.7"
anyhow = "1.0.86"
-byteorder = "1.5.0"
hf-hub = "0.3.2"
-symphonia = "0.5.4"
rand = "0.8.5"
-rubato = "0.15.0"
# Server
axum = "0.7.5"
tokio = { version = "1.15", features = ["full", "tracing"] }
-hyper = "1.4"
tower-http = { version = "0.5.2", features = ["cors", "trace"] }
-tracing-subscriber = "0.3.18"
-console-subscriber = "0.3.0"
# Log
log = { workspace = true }
@@ -73,9 +54,6 @@ sysinfo = "0.29.0"
# Color
colored = "2.0"
-# Tracing
-tracing = { workspace = true }
-
# Plugins
tower = "0.4"
futures = "0.3.17"
@@ -120,7 +98,6 @@ harness = false
[features]
default = ["pipes"]
-static-ffmpeg = ["ffmpeg-next/static"] # TODO unused?
metal = ["candle/metal", "candle-nn/metal", "candle-transformers/metal"]
cuda = ["candle/cuda", "candle-nn/cuda", "candle-transformers/cuda"]
diff --git a/screenpipe-server/src/db.rs b/screenpipe-server/src/db.rs
index 3359702f7..75ebb5331 100644
--- a/screenpipe-server/src/db.rs
+++ b/screenpipe-server/src/db.rs
@@ -1,10 +1,8 @@
-use crate::chunking::{text_chunking_by_similarity, text_chunking_simple};
use crate::filtering::filter_texts;
use async_trait::async_trait;
use chrono::{DateTime, Utc};
use log::{debug, error, info, warn};
use screenpipe_integrations::friend_wearable::FriendWearableDatabase;
-use screenpipe_integrations::unstructured_ocr::unstructured_chunking;
use screenpipe_vision::OcrEngine;
use serde::{Deserialize, Serialize};
use sqlx::migrate::MigrateDatabase;
diff --git a/screenpipe-vision/Cargo.toml b/screenpipe-vision/Cargo.toml
index f55670352..77c3e1b87 100644
--- a/screenpipe-vision/Cargo.toml
+++ b/screenpipe-vision/Cargo.toml
@@ -11,14 +11,8 @@ edition = { workspace = true }
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
-serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
-
-# threadpool
-threadpool = "1.8.1"
-num_cpus = "1.0"
-
# async
tokio = { workspace = true }
@@ -26,25 +20,9 @@ tokio = { workspace = true }
image = { workspace = true }
# OCR
-# rusty-tesseract = "1.1.10"
rusty-tesseract = { git = "https://github.com/louis030195/rusty-tesseract.git", branch = "main" }
-reqwest = { workspace = true }
-
-# Dates
-chrono = { version = "0.4.31", features = ["serde"] }
-
-# Local Embeddings
-candle = { workspace = true }
-candle-nn = { workspace = true }
-candle-transformers = { workspace = true }
-tokenizers = { workspace = true }
-lazy_static = "1.4.0"
-base64 = "0.21.7"
anyhow = "1.0.86"
-byteorder = "1.5.0"
-hf-hub = "0.3.2"
-rand = "0.8.5"
# Log
log = { workspace = true }