2022-09-21 13:19:35 +00:00
|
|
|
[package]
|
2024-10-01 06:11:41 +00:00
|
|
|
name = "gui"
|
2022-09-21 13:19:35 +00:00
|
|
|
version = "0.1.0"
|
|
|
|
edition = "2021"
|
|
|
|
|
|
|
|
[lib]
|
|
|
|
crate-type = ["staticlib"]
|
2024-11-11 04:16:48 +00:00
|
|
|
required-features = ["qt"]
|
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
name = "obliteration"
|
|
|
|
path = "src/main.rs"
|
|
|
|
required-features = ["slint"]
|
|
|
|
|
|
|
|
[features]
|
2024-11-18 15:39:08 +00:00
|
|
|
slint = ["dep:slint", "dep:clap", "dep:rfd", "dep:open"]
|
2024-11-11 04:16:48 +00:00
|
|
|
qt = []
|
2022-09-21 13:19:35 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2024-11-16 12:25:36 +00:00
|
|
|
bitfield-struct = "0.9.2"
|
2024-11-15 18:51:02 +00:00
|
|
|
clap = { version = "4.5.20", features = ["derive"], optional = true }
|
2024-10-04 15:22:59 +00:00
|
|
|
gdbstub = "0.7.2"
|
2024-10-13 11:30:51 +00:00
|
|
|
gdbstub_arch = "0.3.1"
|
2024-03-30 15:27:55 +00:00
|
|
|
humansize = "2.1.3"
|
2024-07-21 10:18:19 +00:00
|
|
|
libc = "0.2.155"
|
2024-10-01 06:11:41 +00:00
|
|
|
obconf = { path = "../src/obconf", features = ["serde", "virt"] }
|
2024-11-18 15:39:08 +00:00
|
|
|
obfw = { git = "https://github.com/obhq/firmware-dumper.git", features = [
|
|
|
|
"read",
|
|
|
|
"std",
|
|
|
|
] }
|
2024-10-01 06:11:41 +00:00
|
|
|
param = { path = "../src/param" }
|
|
|
|
pkg = { path = "../src/pkg" }
|
2024-08-25 14:10:40 +00:00
|
|
|
ciborium = "0.2.2"
|
2024-08-24 18:08:12 +00:00
|
|
|
serde = { version = "1.0.209", features = ["derive"] }
|
2023-10-11 16:18:08 +00:00
|
|
|
thiserror = "1.0"
|
2024-08-24 18:08:12 +00:00
|
|
|
uuid = { version = "1.10.0", features = ["serde", "v4"] }
|
2024-11-18 04:57:07 +00:00
|
|
|
rfd = { version = "0.14.0", optional = true }
|
|
|
|
open = { version = "5.3.1", optional = true }
|
2024-11-09 08:58:35 +00:00
|
|
|
|
2024-11-09 18:26:06 +00:00
|
|
|
[target.'cfg(target_arch = "aarch64")'.dependencies]
|
|
|
|
aarch64 = { path = "../arch/aarch64" }
|
|
|
|
|
2024-11-09 08:58:35 +00:00
|
|
|
[target.'cfg(target_arch = "x86_64")'.dependencies]
|
2024-10-23 10:49:49 +00:00
|
|
|
x86-64 = { path = "../arch/x86-64" }
|
2024-11-11 04:16:48 +00:00
|
|
|
|
|
|
|
[dependencies.slint]
|
|
|
|
git = "https://github.com/slint-ui/slint"
|
|
|
|
rev = "875ca075fb5b2dfe4c3ab0a499d5759412fc1395"
|
2024-11-18 15:39:08 +00:00
|
|
|
features = [
|
|
|
|
"compat-1-2",
|
|
|
|
"std",
|
|
|
|
"accessibility",
|
|
|
|
"raw-window-handle-06",
|
|
|
|
"backend-winit",
|
|
|
|
"renderer-skia",
|
|
|
|
]
|
2024-11-11 04:16:48 +00:00
|
|
|
default-features = false
|
|
|
|
optional = true
|
2024-07-21 10:18:19 +00:00
|
|
|
|
2024-08-13 18:27:11 +00:00
|
|
|
[target.'cfg(not(target_os = "macos"))'.dependencies]
|
2024-11-18 15:39:08 +00:00
|
|
|
ash = { version = "0.38.0", features = [
|
|
|
|
"linked",
|
|
|
|
"std",
|
|
|
|
], default-features = false }
|
2024-08-13 18:27:11 +00:00
|
|
|
|
2024-07-21 15:46:26 +00:00
|
|
|
[target.'cfg(windows)'.dependencies.windows-sys]
|
|
|
|
version = "0.52.0"
|
|
|
|
features = [
|
|
|
|
"Win32",
|
|
|
|
"Win32_Foundation",
|
|
|
|
"Win32_System",
|
|
|
|
"Win32_System_Hypervisor",
|
|
|
|
"Win32_System_Memory",
|
2024-07-22 11:52:56 +00:00
|
|
|
"Win32_System_SystemInformation",
|
2024-07-21 15:46:26 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[target.'cfg(target_os = "macos")'.dependencies]
|
2024-10-12 19:21:56 +00:00
|
|
|
applevisor-sys = "0.1.3"
|
2024-08-01 15:38:20 +00:00
|
|
|
core-graphics-types = "0.1.3"
|
|
|
|
metal = "0.29.0"
|
|
|
|
objc = "0.2.7"
|
2024-07-21 15:46:26 +00:00
|
|
|
|
2024-07-21 10:18:19 +00:00
|
|
|
[build-dependencies]
|
2024-11-16 12:25:36 +00:00
|
|
|
cbindgen = "0.27.0"
|
2024-11-11 04:16:48 +00:00
|
|
|
slint-build = { git = "https://github.com/slint-ui/slint", rev = "875ca075fb5b2dfe4c3ab0a499d5759412fc1395" }
|