-
Notifications
You must be signed in to change notification settings - Fork 896
/
Copy pathCargo.toml
71 lines (62 loc) · 2.33 KB
/
Cargo.toml
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 = [
"screenpipe-core",
"screenpipe-vision",
"screenpipe-audio",
"screenpipe-server",
"screenpipe-integrations",
"screenpipe-events",
"screenpipe-db",
]
exclude = ["screenpipe-app-tauri/src-tauri"]
resolver = "2"
[workspace.package]
version = "0.2.65"
authors = ["louis030195 <[email protected]>"]
description = ""
repository = "https://github.com/mediar-ai/screenpipe"
license = "MIT OR Apache-2.0"
edition = "2021"
[workspace.dependencies]
# AI
# candle = { version = "0.8.3", package = "candle-core" }
# candle-nn = { version = "0.8.3", package = "candle-nn" }
# candle-transformers = { version = "0.8.3", package = "candle-transformers" }
candle = { git = "https://github.com/huggingface/candle.git", rev = "c930ab7e1a234f02a0f49350bf38f03f45e53757", package = "candle-core" }
candle-nn = { git = "https://github.com/huggingface/candle.git", rev = "c930ab7e1a234f02a0f49350bf38f03f45e53757", package = "candle-nn" }
candle-transformers = { git = "https://github.com/huggingface/candle.git", rev = "c930ab7e1a234f02a0f49350bf38f03f45e53757", package = "candle-transformers" }
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"] }
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", features = ["native-tls"] }
# Patch half to use a version compatible with both candle and ort
half = { git = "https://github.com/starkat99/half-rs.git", tag = "v2.5.0" }
[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