59c3461ce5b48a0af73c0c1e9c857021d2b6925d
[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 = "2.4"
26 libc = "0.2"
27 wmi = "0.13"
28 crc = "3.0"
29
30 libloading = "0.8"
31 # netcorehost = "0.15"
32
33 [dependencies.windows]
34 version = "0.51"
35 features = [
36     "Win32_Foundation",
37     "Win32_Security",
38     "Win32_Storage_FileSystem",
39     "Win32_System_IO",
40     "Win32_System_Services",
41     "Win32_System_LibraryLoader",
42     "Win32_System_Threading",
43     # "Devices_I2c",
44     # "Devices_Enumeration",
45     # "Foundation",
46     # "Foundation_Collections",
47 ]
48
49 [build-dependencies]
50 bindgen = "0.68"
51
52 [profile.release]
53 strip = "debuginfo"
54 codegen-units = 1
55 lto = true