-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
70 lines (62 loc) · 1.49 KB
/
Cargo.toml
File metadata and controls
70 lines (62 loc) · 1.49 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
[workspace]
resolver = "2"
members = [
"crates/brightness-core",
"crates/brightness-cli",
"app/src-tauri",
]
[workspace.package]
version = "1.0.0"
edition = "2024"
rust-version = "1.85"
authors = ["kingchenc"]
license = "LicenseRef-Proprietary"
repository = "https://github.com/kingchenc/MonitorBrightnessControl"
homepage = "https://github.com/kingchenc/MonitorBrightnessControl"
[workspace.dependencies]
# Shared
thiserror = "2"
log = "0.4"
env_logger = "0.11"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
anyhow = "1"
parking_lot = "0.12"
once_cell = "1"
bitflags = "2"
# Core (platform impls pull more in their own Cargo.toml via cfg)
# CLI
clap = { version = "4", features = ["derive"] }
# App
tauri = { version = "2", features = ["tray-icon"] }
tauri-build = { version = "2", default-features = false }
tauri-plugin-global-shortcut = "2"
tauri-plugin-single-instance = "2"
tauri-plugin-autostart = "2"
tauri-plugin-window-state = "2"
tauri-plugin-os = "2"
tauri-plugin-shell = "2"
tauri-plugin-dialog = "2"
tokio = { version = "1", features = ["rt-multi-thread", "macros", "sync", "time"] }
toml = "0.8"
dirs = "5"
chrono = { version = "0.4", features = ["serde"] }
sunrise = "1"
[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
strip = true
panic = "abort"
debug = false
incremental = false
[profile.release-dev]
inherits = "release"
lto = "thin"
codegen-units = 16
strip = false
debug = "line-tables-only"
incremental = true
[profile.dev]
opt-level = 1
debug = true