Add a color (2 colors can be now defined for a machine).
[temp2RGB.git] / Cargo.toml
1 [package]
2 name = "temp_2_rgb"
3 version = "0.1.0"
4 edition = "2021"
5
6 # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
7
8 # [build]
9 # target = "i686-pc-windows-msvc"
10
11 [dependencies]
12 serde = { version = "1.0", features = ["derive"] }
13 ron = "0.8"                                        # Rust object notation, to load configuration files.
14
15 num = "0.4"
16
17 dirs = "5.0"
18 anyhow = "1.0"
19
20 flexi_logger = "0.28"
21 log-panics = { version = "2", features = ["with-backtrace"] }
22 log = "0.4"
23
24 windows-service = "0.6"
25
26 # HIDAPI is a library which allows an application to interface with
27 # USB and Bluetooth HID-Class devices.
28 hidapi = "2.6"
29
30 # Nvidia API.
31 nvapi = "0.1"
32
33 libc = "0.2"
34 wmi = "0.13"
35 crc = "3.0"
36
37 # libloading = "0.8"
38 # netcorehost = "0.15"
39
40 [dependencies.windows]
41 version = "0.54"
42 features = [
43     "Win32_Foundation",
44     "Win32_Security",
45     "Win32_Storage_FileSystem",
46     "Win32_System_IO",
47     "Win32_System_Services",
48     "Win32_System_LibraryLoader",
49     "Win32_System_Threading",
50     # "Devices_I2c",
51     # "Devices_Enumeration",
52     # "Foundation",
53     # "Foundation_Collections",
54 ]
55
56 [build-dependencies]
57 bindgen = "0.69"
58
59 [profile.release]
60 # strip = "debuginfo"
61 codegen-units = 1
62 lto = true