-
-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathCargo.toml
92 lines (78 loc) · 2.32 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
[workspace]
members = ["data", "hardware", "ui", "utils"]
resolver = "2"
[workspace.package]
authors = ["wiiznokes <wiiznokes2@gmail.com>"]
edition = "2021"
license = "GPL-3.0-only"
homepage = "https://github.com/wiiznokes/fan-control/"
repository = "https://github.com/wiiznokes/fan-control.git"
keywords = ["fan-control", "lhm", "lmsensors", "sensors", "iced-app"]
[package]
name = "fan-control"
version = "0.1.0"
description = "Control your fans with different behaviors"
exclude = ["/.*", "justfile", "LICENCE"]
authors.workspace = true
edition.workspace = true
license.workspace = true
homepage.workspace = true
repository.workspace = true
keywords.workspace = true
[package.metadata.packager]
version = "2024.11.0"
before-each-package-command = "cargo build --release"
identifier = "io.github.wiiznokes.fan-control"
icons = ["res/windows/app_icon.ico"]
resources = ["res/lhmbuild"]
category = "Utility"
[package.metadata.packager.windows]
allow_downgrades = true
[features]
default = ["ui"]
ui = ["dep:ui"]
fake_hardware = ["hardware/fake_hardware"]
[workspace.lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = [
'cfg(FAN_CONTROL_FORMAT, values("flatpak"))',
] }
[workspace.dependencies]
hardware = { path = "hardware" }
data = { path = "data" }
ui = { path = "ui" }
utils = { path = "utils" }
clap = { version = "4", features = ["derive", "string"] }
serde = { version = "1", features = ["derive", "rc"] }
serde_json = "1"
toml = "0.8"
env_logger = "0.11"
log = "0.4"
i18n-embed = { version = "0.15", features = [
"fluent-system",
"desktop-requester",
] }
rust-embed = "8"
i18n-embed-fl = "0.9"
thiserror = "2"
derive_more = { version = "1", default-features = false, features = [
"unwrap",
"display",
] }
# strum = { version = "0.25", features = ["derive"] }
# [patch."https://github.com/pop-os/libcosmic"]
# libcosmic = { path = "../libcosmic" }
# libcosmic = { git = "https://github.com/wiiznokes/libcosmic", rev = "2dff73b8b2871afca6c65c861954c196818f960f" }
# libcosmic = { git = "https://github.com/edfloreshz-ext/libcosmic" }
[dependencies]
data.workspace = true
ui = { workspace = true, optional = true }
thiserror.workspace = true
clap.workspace = true
log.workspace = true
env_logger.workspace = true
hardware.workspace = true
crossterm = "0.28"
[build-dependencies]
winres = "0.1"
[profile.release]
lto = "fat"