obliteration/gui/Cargo.toml

86 lines
2.0 KiB
TOML
Raw Normal View History

[package]
name = "gui"
version = "0.1.0"
edition = "2021"
[lib]
crate-type = ["staticlib"]
required-features = ["qt"]
[[bin]]
name = "obliteration"
path = "src/main.rs"
required-features = ["slint"]
[features]
slint = ["dep:slint", "dep:clap", "dep:rfd", "dep:open"]
qt = []
[dependencies]
2024-11-16 12:25:36 +00:00
bitfield-struct = "0.9.2"
clap = { version = "4.5.20", features = ["derive"], optional = true }
2024-10-04 15:22:59 +00:00
gdbstub = "0.7.2"
gdbstub_arch = "0.3.1"
2024-03-30 15:27:55 +00:00
humansize = "2.1.3"
libc = "0.2.155"
obconf = { path = "../src/obconf", features = ["serde", "virt"] }
obfw = { git = "https://github.com/obhq/firmware-dumper.git", features = [
"read",
"std",
] }
param = { path = "../src/param" }
pkg = { path = "../src/pkg" }
ciborium = "0.2.2"
serde = { version = "1.0.209", features = ["derive"] }
2023-10-11 16:18:08 +00:00
thiserror = "1.0"
uuid = { version = "1.10.0", features = ["serde", "v4"] }
rfd = { version = "0.14.0", optional = true }
open = { version = "5.3.1", optional = true }
2024-11-09 08:58:35 +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]
x86-64 = { path = "../arch/x86-64" }
[dependencies.slint]
git = "https://github.com/slint-ui/slint"
rev = "875ca075fb5b2dfe4c3ab0a499d5759412fc1395"
features = [
"compat-1-2",
"std",
"accessibility",
"raw-window-handle-06",
"backend-winit",
"renderer-skia",
]
default-features = false
optional = true
2024-08-13 18:27:11 +00:00
[target.'cfg(not(target_os = "macos"))'.dependencies]
ash = { version = "0.38.0", features = [
"linked",
"std",
], default-features = false }
2024-08-13 18:27:11 +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",
]
[target.'cfg(target_os = "macos")'.dependencies]
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"
[build-dependencies]
2024-11-16 12:25:36 +00:00
cbindgen = "0.27.0"
slint-build = { git = "https://github.com/slint-ui/slint", rev = "875ca075fb5b2dfe4c3ab0a499d5759412fc1395" }