-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
68 lines (59 loc) · 1.56 KB
/
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
[workspace]
resolver = "2"
members = [
"crates/autostart-installer",
"crates/loader",
"crates/shared",
"crates/yabg3nml",
]
[workspace.dependencies]
tracing = "0.1.41"
eyre = "0.6.12"
tracing-subscriber = { version = "0.3.19", features = ["env-filter", "json"] }
shared = { path = "crates/shared" }
native-plugin-lib = { git = "https://github.com/MolotovCherry/Native-Plugin-Lib" }
unicase = "2.8.0"
winres = "0.1.12"
[workspace.dependencies.windows]
version = "0.58.0"
features = [
"Win32_Foundation",
"Win32_System_ApplicationInstallationAndServicing",
"Win32_UI_WindowsAndMessaging",
"Win32_System_Threading",
"Win32_System_Memory",
"Win32_System_Diagnostics_Debug",
"Win32_System_LibraryLoader",
"Win32_System_Diagnostics_ToolHelp",
"Win32_System_SystemServices",
"Win32_System_Diagnostics_Debug",
"Win32_System_SystemInformation",
"Win32_Storage_FileSystem",
"Win32_Security",
"Win32_System_ProcessStatus",
"Win32_System_Console",
"Win32_Security_Authorization",
"Win32_System_Pipes",
]
[workspace.lints.rust]
unsafe_op_in_unsafe_fn = "warn"
[workspace.lints.clippy]
multiple_unsafe_ops_per_block = "warn"
[profile.dev]
opt-level = 1
[profile.dev-dbg]
inherits = "dev"
opt-level = 0
[profile.dev-ci]
inherits = "dev"
opt-level = 0
[profile.release]
# include something at least
debug = "line-tables-only"
lto = true
codegen-units = 1
# required so artifact dependencies in build.rs build in full release mode
[profile.release.build-override]
debug = "line-tables-only"
opt-level = 3
codegen-units = 1