b44964a56bfd34e93122ebde1a430f6321ee767d
[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.26"
21 log = "0.4"
22
23 windows-service = "0.6"
24
25 # HIDAPI is a library which allows an application to interface with
26 # USB and Bluetooth HID-Class devices.
27 hidapi = "2.4"
28
29 # Nvidia API.
30 nvapi = "0.1"
31
32 libc = "0.2"
33 wmi = "0.13"
34 crc = "3.0"
35
36 libloading = "0.8"
37 # netcorehost = "0.15"
38
39 [dependencies.windows]
40 version = "0.51"
41 features = [
42     "Win32_Foundation",
43     "Win32_Security",
44     "Win32_Storage_FileSystem",
45     "Win32_System_IO",
46     "Win32_System_Services",
47     "Win32_System_LibraryLoader",
48     "Win32_System_Threading",
49     # "Devices_I2c",
50     # "Devices_Enumeration",
51     # "Foundation",
52     # "Foundation_Collections",
53 ]
54
55 [build-dependencies]
56 bindgen = "0.68"
57
58 [profile.release]
59 strip = "debuginfo"
60 codegen-units = 1
61 lto = true