-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
36 lines (29 loc) · 837 Bytes
/
Cargo.toml
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
[package]
name = "ideapad"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
once_cell = "1.9.0"
serde = { version = "1.0.132", optional = true, features = ["derive"] }
smbios-lib = "0.8.0"
tap = "1.0.1"
thiserror = "1.0.30"
try-drop = { git = "https://github.com/ALinuxPerson/try-drop.git" }
[features]
default = ["core", "profiles", "macros"]
# core
core = ["battery_conservation", "rapid_charge", "system_performance"]
battery_conservation = []
rapid_charge = []
system_performance = []
# profiles
profiles = ["ideapad_15iil05", "ideapad_amd"]
ideapad_15iil05 = []
ideapad_amd = []
# macros
macros = ["borrowed_cow_array", "borrowed_cow_vec"]
borrowed_cow_array = []
borrowed_cow_vec = []
[dev-dependencies]
serial_test = "0.5.1"