forked from screenpipe/screenpipe
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
71 lines (61 loc) · 1.84 KB
/
Cargo.toml
File metadata and controls
71 lines (61 loc) · 1.84 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
[workspace]
members = [
"crates/*",
]
exclude = ["apps/screenpipe-app-tauri/src-tauri"]
resolver = "2"
[workspace.package]
version = "0.3.170"
authors = ["louis030195 <hi@louis030195.com>"]
description = ""
repository = "https://github.com/screenpipe/screenpipe"
license = "MIT OR Apache-2.0"
edition = "2021"
[workspace.dependencies]
# AI
tokenizers = "0.21.0"
hf-hub = { version = "0.3.2", git = "https://github.com/neo773/hf-hub", features = [
"native-tls",
] }
log = "0.4"
tracing = "0.1.40"
tracing-subscriber = { version = "0.3.19", features = ["env-filter", "chrono"] }
tracing-appender = { version = "0.2.3" }
tokio = { version = "1.15", features = ["full", "tracing"] }
crossbeam = "0.8.4"
dashmap = "6.1.0"
image = "0.25"
criterion = { version = "0.5.1", features = ["async_tokio"] }
vcpkg = "0.2"
cc = "1.0"
oasgen = { version = "0.22.0", features = ["axum", "chrono"] }
once_cell = "1.20.2"
sentry = { version = "0.36.0", features = ["tracing"] }
tracing-oslog = "0.3.0"
http-cache-reqwest = "0.15.0"
reqwest = { version = "=0.12.12", features = ["blocking", "multipart", "json"] }
reqwest-middleware = "0.4.1"
[patch.crates-io]
# enables chinese mirror (hf is banned in china) and native-tls
hf-hub = { git = "https://github.com/neo773/hf-hub" }
[workspace.metadata.vcpkg]
git = "https://github.com/microsoft/vcpkg"
rev = "2023.04.15"
dynamic = true
[profile.release]
codegen-units = 1
lto = true
opt-level = "s"
strip = true
# Fast local release builds: cargo build --profile release-dev
# ~3-5x faster than full release, still optimized for testing
[profile.release-dev]
inherits = "release"
lto = "thin"
codegen-units = 16
incremental = true
# Faster dev builds - optimize dependencies but keep local code debuggable
[profile.dev]
opt-level = 0
[profile.dev.package."*"]
opt-level = 2 # Optimize all dependencies (faster runtime, same compile time)