2024-02-27 01:43:26 +00:00
|
|
|
[package]
|
|
|
|
name = "objdiff-gui"
|
2024-09-10 01:32:22 +00:00
|
|
|
version.workspace = true
|
|
|
|
edition.workspace = true
|
|
|
|
rust-version.workspace = true
|
|
|
|
authors.workspace = true
|
|
|
|
license.workspace = true
|
|
|
|
repository.workspace = true
|
2024-02-27 01:43:26 +00:00
|
|
|
readme = "../README.md"
|
|
|
|
description = """
|
|
|
|
A local diffing tool for decompilation projects.
|
|
|
|
"""
|
|
|
|
publish = false
|
|
|
|
build = "build.rs"
|
|
|
|
|
2024-03-03 05:42:24 +00:00
|
|
|
[[bin]]
|
|
|
|
name = "objdiff"
|
|
|
|
path = "src/main.rs"
|
|
|
|
|
2024-02-27 01:43:26 +00:00
|
|
|
[features]
|
2024-08-11 19:33:10 +00:00
|
|
|
default = ["glow", "wgpu", "wsl"]
|
2024-06-06 00:00:37 +00:00
|
|
|
glow = ["eframe/glow"]
|
|
|
|
wgpu = ["eframe/wgpu", "dep:wgpu"]
|
2024-02-27 01:43:26 +00:00
|
|
|
wsl = []
|
|
|
|
|
|
|
|
[dependencies]
|
2024-09-10 01:26:46 +00:00
|
|
|
anyhow = "1.0"
|
|
|
|
bytes = "1.7"
|
|
|
|
cfg-if = "1.0"
|
|
|
|
const_format = "0.2"
|
|
|
|
cwdemangle = "1.0"
|
2024-10-03 07:12:37 +00:00
|
|
|
cwextab = "1.0.2"
|
2024-09-10 01:26:46 +00:00
|
|
|
dirs = "5.0"
|
2024-09-27 05:51:49 +00:00
|
|
|
egui = "0.29"
|
|
|
|
egui_extras = "0.29"
|
2024-09-10 01:26:46 +00:00
|
|
|
filetime = "0.2"
|
|
|
|
float-ord = "0.3"
|
|
|
|
font-kit = "0.14"
|
|
|
|
globset = { version = "0.4", features = ["serde1"] }
|
|
|
|
log = "0.4"
|
|
|
|
notify = { git = "https://github.com/notify-rs/notify", rev = "128bf6230c03d39dbb7f301ff7b20e594e34c3a2" }
|
2024-02-27 01:43:26 +00:00
|
|
|
objdiff-core = { path = "../objdiff-core", features = ["all"] }
|
2024-09-28 16:55:25 +00:00
|
|
|
open = "5.3"
|
2024-09-10 01:26:46 +00:00
|
|
|
png = "0.17"
|
|
|
|
pollster = "0.3"
|
|
|
|
regex = "1.10"
|
2024-09-27 05:51:49 +00:00
|
|
|
rfd = { version = "0.15" } #, default-features = false, features = ['xdg-portal']
|
2024-09-10 01:26:46 +00:00
|
|
|
rlwinmdec = "1.0"
|
|
|
|
ron = "0.8"
|
|
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
|
|
serde_json = "1.0"
|
|
|
|
shell-escape = "0.1"
|
|
|
|
strum = { version = "0.26", features = ["derive"] }
|
|
|
|
tempfile = "3.12"
|
|
|
|
time = { version = "0.3", features = ["formatting", "local-offset"] }
|
2024-02-27 01:43:26 +00:00
|
|
|
|
2024-06-06 00:00:37 +00:00
|
|
|
# Keep version in sync with egui
|
|
|
|
[dependencies.eframe]
|
2024-09-27 05:51:49 +00:00
|
|
|
version = "0.29"
|
2024-06-06 00:00:37 +00:00
|
|
|
features = [
|
|
|
|
"default_fonts",
|
|
|
|
"persistence",
|
|
|
|
"wayland",
|
|
|
|
"x11",
|
|
|
|
]
|
|
|
|
default-features = false
|
|
|
|
|
|
|
|
# Keep version in sync with eframe
|
|
|
|
[dependencies.wgpu]
|
2024-09-27 05:51:49 +00:00
|
|
|
version = "22.1"
|
2024-06-06 00:00:37 +00:00
|
|
|
features = [
|
|
|
|
"dx12",
|
|
|
|
"metal",
|
|
|
|
"webgpu",
|
|
|
|
]
|
|
|
|
optional = true
|
|
|
|
default-features = false
|
|
|
|
|
2024-02-27 01:43:26 +00:00
|
|
|
# For Linux static binaries, use rustls
|
|
|
|
[target.'cfg(target_os = "linux")'.dependencies]
|
2024-09-10 01:26:46 +00:00
|
|
|
reqwest = { version = "0.12", default-features = false, features = ["blocking", "json", "multipart", "rustls-tls"] }
|
|
|
|
self_update = { version = "0.41", default-features = false, features = ["rustls"] }
|
2024-02-27 01:43:26 +00:00
|
|
|
|
|
|
|
# For all other platforms, use native TLS
|
|
|
|
[target.'cfg(not(target_os = "linux"))'.dependencies]
|
2024-09-10 01:26:46 +00:00
|
|
|
reqwest = { version = "0.12", default-features = false, features = ["blocking", "json", "multipart", "default-tls"] }
|
|
|
|
self_update = "0.41"
|
2024-02-27 01:43:26 +00:00
|
|
|
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
2024-09-10 01:26:46 +00:00
|
|
|
path-slash = "0.2"
|
|
|
|
winapi = "0.3"
|
2024-02-27 01:43:26 +00:00
|
|
|
|
|
|
|
[target.'cfg(unix)'.dependencies]
|
2024-09-10 01:26:46 +00:00
|
|
|
exec = "0.3"
|
2024-02-27 01:43:26 +00:00
|
|
|
|
|
|
|
# native:
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
|
|
|
tracing-subscriber = "0.3"
|
|
|
|
|
|
|
|
# web:
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
2024-09-10 01:26:46 +00:00
|
|
|
console_error_panic_hook = "0.1"
|
2024-02-27 01:43:26 +00:00
|
|
|
tracing-wasm = "0.2"
|
|
|
|
|
|
|
|
[build-dependencies]
|
2024-09-10 01:26:46 +00:00
|
|
|
anyhow = "1.0"
|
2024-09-11 05:22:09 +00:00
|
|
|
|
|
|
|
[target.'cfg(windows)'.build-dependencies]
|
|
|
|
tauri-winres = "0.1"
|