mirror of https://github.com/encounter/objdiff.git
110 lines
2.7 KiB
TOML
110 lines
2.7 KiB
TOML
[package]
|
|
name = "objdiff-gui"
|
|
version = "2.0.0-beta.2"
|
|
edition = "2021"
|
|
rust-version = "1.70"
|
|
authors = ["Luke Street <luke@street.dev>"]
|
|
license = "MIT OR Apache-2.0"
|
|
repository = "https://github.com/encounter/objdiff"
|
|
readme = "../README.md"
|
|
description = """
|
|
A local diffing tool for decompilation projects.
|
|
"""
|
|
publish = false
|
|
build = "build.rs"
|
|
|
|
[[bin]]
|
|
name = "objdiff"
|
|
path = "src/main.rs"
|
|
|
|
[features]
|
|
default = ["glow", "wgpu", "wsl"]
|
|
glow = ["eframe/glow"]
|
|
wgpu = ["eframe/wgpu", "dep:wgpu"]
|
|
wsl = []
|
|
|
|
[dependencies]
|
|
anyhow = "1.0.82"
|
|
bytes = "1.6.0"
|
|
cfg-if = "1.0.0"
|
|
const_format = "0.2.32"
|
|
cwdemangle = "1.0.0"
|
|
cwextab = "0.2.3"
|
|
dirs = "5.0.1"
|
|
egui = "0.27.2"
|
|
egui_extras = "0.27.2"
|
|
filetime = "0.2.23"
|
|
float-ord = "0.3.2"
|
|
font-kit = "0.13.0"
|
|
globset = { version = "0.4.14", features = ["serde1"] }
|
|
log = "0.4.21"
|
|
notify = { git = "https://github.com/encounter/notify", rev = "4c1783e8e041b5f69d4cf1750b9f07e335a0771e" }
|
|
objdiff-core = { path = "../objdiff-core", features = ["all"] }
|
|
png = "0.17.13"
|
|
pollster = "0.3.0"
|
|
regex = "1.10.5"
|
|
rfd = { version = "0.14.1" } #, default-features = false, features = ['xdg-portal']
|
|
rlwinmdec = "1.0.1"
|
|
ron = "0.8.1"
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1.0.116"
|
|
shell-escape = "0.1.5"
|
|
strum = { version = "0.26.2", features = ["derive"] }
|
|
tempfile = "3.10.1"
|
|
time = { version = "0.3.36", features = ["formatting", "local-offset"] }
|
|
|
|
# Keep version in sync with egui
|
|
[dependencies.eframe]
|
|
version = "0.27.2"
|
|
features = [
|
|
"default_fonts",
|
|
"persistence",
|
|
"wayland",
|
|
"x11",
|
|
]
|
|
default-features = false
|
|
|
|
# Keep version in sync with eframe
|
|
[dependencies.wgpu]
|
|
version = "0.19.1"
|
|
features = [
|
|
"dx12",
|
|
"metal",
|
|
"webgpu",
|
|
]
|
|
optional = true
|
|
default-features = false
|
|
|
|
# For Linux static binaries, use rustls
|
|
[target.'cfg(target_os = "linux")'.dependencies]
|
|
reqwest = { version = "0.12.4", default-features = false, features = ["blocking", "json", "multipart", "rustls-tls"] }
|
|
self_update = { version = "0.40.0", default-features = false, features = ["rustls"] }
|
|
|
|
# For all other platforms, use native TLS
|
|
[target.'cfg(not(target_os = "linux"))'.dependencies]
|
|
reqwest = { version = "0.12.4", default-features = false, features = ["blocking", "json", "multipart", "default-tls"] }
|
|
self_update = "0.40.0"
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
path-slash = "0.2.1"
|
|
winapi = "0.3.9"
|
|
|
|
[target.'cfg(windows)'.build-dependencies]
|
|
winres = "0.1.12"
|
|
|
|
[target.'cfg(unix)'.dependencies]
|
|
exec = "0.3.1"
|
|
|
|
# native:
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
|
tracing-subscriber = "0.3"
|
|
|
|
# web:
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
|
console_error_panic_hook = "0.1.7"
|
|
tracing-wasm = "0.2"
|
|
|
|
[build-dependencies]
|
|
anyhow = "1.0.82"
|
|
vergen = { version = "8.3.1", features = ["build", "cargo", "git", "gitcl"] }
|