-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCargo.toml
More file actions
45 lines (37 loc) · 1.02 KB
/
Copy pathCargo.toml
File metadata and controls
45 lines (37 loc) · 1.02 KB
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
[workspace]
members = ["gui"]
# The GUI is Windows-only (Win32). A bare `cargo build`/`cargo test` builds just
# the core crate so the workspace is usable on Linux; the Windows release job
# builds everything explicitly with `--workspace`.
default-members = ["."]
[package]
name = "whyreboot"
version = "0.6.1"
edition = "2024"
license = "MIT OR Apache-2.0"
[lib]
name = "whyreboot"
path = "src/lib.rs"
[[bin]]
name = "whyreboot"
path = "src/main.rs"
[dependencies]
# Windows backend: Event Log, registry, console VTP, FILETIME conversion.
[target.'cfg(windows)'.dependencies]
windows = { version = "0.62.2", features = [
"Win32_Foundation",
"Win32_Storage_FileSystem",
"Win32_System_EventLog",
"Win32_System_Console",
"Win32_System_Registry",
"Win32_System_Time",
] }
# Unix backend: localtime_r for local-time formatting and isatty for color detection.
[target.'cfg(unix)'.dependencies]
libc = "0.2"
[profile.release]
opt-level = "z"
lto = true
codegen-units = 1
strip = true
panic = "abort"