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