-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathCargo.toml
More file actions
99 lines (90 loc) · 2.81 KB
/
Copy pathCargo.toml
File metadata and controls
99 lines (90 loc) · 2.81 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
[package]
name = "copyosity"
version = "1.0.3"
description = "Privacy-first clipboard history manager with NeuralDeep Hub, voice, OCR, and local Ollama"
authors = ["v.kovalskii"]
edition = "2021"
[lints.rust]
unused_must_use = "warn"
[lints.clippy]
enum_glob_use = "deny"
todo = "warn"
unimplemented = "warn"
redundant_clone = "warn"
[lib]
name = "copyosity_lib"
crate-type = ["staticlib", "cdylib", "rlib"]
[profile.dev]
# Fastest local compile (Cargo default). Dependencies stay at opt-level 2 below.
# Trade-off: local crate code runs unoptimized in dev — use [profile.release] for perf work.
opt-level = 0
[profile.dev.package."*"]
opt-level = 2
[build-dependencies]
tauri-build = { version = "2", features = [] }
[dependencies]
tauri = { version = "2", features = ["macos-private-api", "tray-icon"] }
tauri-plugin-opener = "2"
tauri-plugin-global-shortcut = "2"
tauri-plugin-sql = { version = "2", features = ["sqlite"] }
tauri-plugin-updater = "2"
tauri-plugin-process = "2"
tauri-plugin-notification = "2"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
rusqlite = { version = "0.31", features = ["bundled"] }
arboard = "3"
chrono = { version = "0.4", features = ["serde"] }
base64 = "0.22"
tokio = { version = "1", features = ["time", "sync"] }
sha2 = "0.10"
hex = "0.4"
image = { version = "0.25", default-features = false, features = ["png", "jpeg", "gif"] }
ureq = { version = "2.10", features = ["json"] }
cpal = "0.16"
hound = "3.5"
tauri-plugin-autostart = "2.5.1"
[target.'cfg(target_os = "macos")'.dependencies]
block2 = "0.6"
objc = "0.2"
cocoa = "0.26"
objc2 = "0.6"
objc2-app-kit = { version = "0.3", default-features = false, features = [
"NSApplication",
"NSOpenPanel",
"NSResponder",
"NSPasteboard",
"NSPasteboardItem",
"NSWorkspace",
"NSRunningApplication",
"NSEvent",
"NSScreen",
"NSView",
"NSWindow",
"NSButton",
"NSStatusItem",
"NSStatusBarButton",
"block2",
] }
# NSStatusItem / NSStatusBarButton: tray_macos highlight (docs/architecture/macos-tray-menu.md §4)
objc2-foundation = { version = "0.3", default-features = false, features = [
"NSArray",
"NSString",
"NSDictionary",
"NSValue",
"NSObject",
"NSData",
"NSBundle",
"NSURL",
"NSNotification",
"NSOperation",
"NSError",
"NSObjCRuntime",
"block2",
] }
objc2-vision = { version = "0.3", features = ["VNRequest", "VNRecognizeTextRequest", "VNRequestHandler", "VNObservation", "VNTypes"] }
tauri-nspanel = { git = "https://github.com/ahkohd/tauri-nspanel", rev = "a3122e89" }
# §6 Agent guardrail: docs/architecture/macos-tray-menu.md — do not remove pin without upstream merge.
# tray-icon#318: popUpStatusItemMenu inside on_tray_click (macOS; patch applies on all targets).
[patch.crates-io]
tray-icon = { git = "https://github.com/tauri-apps/tray-icon", rev = "8cd6dce9bae905069416e524a077a3a9d7a6b451" }