mirror of
https://github.com/obhq/obliteration.git
synced 2024-11-26 20:50:22 +00:00
86 lines
2.0 KiB
TOML
86 lines
2.0 KiB
TOML
[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]
|
|
bitfield-struct = "0.9.2"
|
|
clap = { version = "4.5.20", features = ["derive"], optional = true }
|
|
gdbstub = "0.7.2"
|
|
gdbstub_arch = "0.3.1"
|
|
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"] }
|
|
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 }
|
|
|
|
[target.'cfg(target_arch = "aarch64")'.dependencies]
|
|
aarch64 = { path = "../arch/aarch64" }
|
|
|
|
[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
|
|
|
|
[target.'cfg(not(target_os = "macos"))'.dependencies]
|
|
ash = { version = "0.38.0", features = [
|
|
"linked",
|
|
"std",
|
|
], default-features = false }
|
|
|
|
[target.'cfg(windows)'.dependencies.windows-sys]
|
|
version = "0.52.0"
|
|
features = [
|
|
"Win32",
|
|
"Win32_Foundation",
|
|
"Win32_System",
|
|
"Win32_System_Hypervisor",
|
|
"Win32_System_Memory",
|
|
"Win32_System_SystemInformation",
|
|
]
|
|
|
|
[target.'cfg(target_os = "macos")'.dependencies]
|
|
applevisor-sys = "0.1.3"
|
|
core-graphics-types = "0.1.3"
|
|
metal = "0.29.0"
|
|
objc = "0.2.7"
|
|
|
|
[build-dependencies]
|
|
cbindgen = "0.27.0"
|
|
slint-build = { git = "https://github.com/slint-ui/slint", rev = "875ca075fb5b2dfe4c3ab0a499d5759412fc1395" }
|