-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathCargo.toml
More file actions
58 lines (50 loc) · 1.63 KB
/
Cargo.toml
File metadata and controls
58 lines (50 loc) · 1.63 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
[package]
name = "wattseal"
autobins = false
build = "build.rs"
version.workspace = true
authors.workspace = true
readme.workspace = true
license.workspace = true
homepage.workspace = true
repository.workspace = true
keywords.workspace = true
edition.workspace = true
description.workspace = true
[[bin]]
name = "WattSeal"
path = "src/main.rs"
[workspace]
resolver = "3"
members = ["collector", "ui", "common", "mqtt"]
[workspace.package]
version = "1.0.2"
authors = ["Damien PHILIPPE <damien.philippe@edu.esiee.fr>", "Paul MALLARD <paul.mallard@edu.esiee.fr>"]
readme = "README.md"
license = "GPL-3.0"
homepage = "https://wattseal.com"
repository = "https://github.com/Daminoup88/WattSeal"
keywords = ["power", "energy", "monitoring", "carbon", "emissions", "sustainability"]
edition = "2024"
description = "WattSeal is a tool to monitor and analyze the power consumption of your computer, providing insights into energy usage and carbon emissions."
[target.'cfg(windows)'.build-dependencies]
winres = "0.1"
image = { version = "0.25", default-features = false, features = ["png", "ico"] }
[dependencies]
collector = { path = "collector" }
ui = { path = "ui" }
common = { path = "common" }
tray-icon = { version = "0.24.0", default-features = false, features = ["gtk"] }
chrono = "0.4.44"
image = { version = "0.25", default-features = false, features = ["png"] }
bpaf = { version = "0.9.26", features = ["derive", "dull-color"] }
[target.'cfg(not(target_os = "linux"))'.dependencies]
winit = "0.30.13"
[target.'cfg(target_os = "linux")'.dependencies]
gtk = "0.18"
[profile.release]
opt-level = 3
lto = true
codegen-units = 1
strip = true
panic = "unwind"