2022-09-08 21:19:20 +00:00
|
|
|
[package]
|
|
|
|
name = "objdiff"
|
2023-11-22 05:11:33 +00:00
|
|
|
version = "0.6.1"
|
2022-09-08 21:19:20 +00:00
|
|
|
edition = "2021"
|
2023-10-06 03:55:01 +00:00
|
|
|
rust-version = "1.70"
|
2022-09-08 21:19:20 +00:00
|
|
|
authors = ["Luke Street <luke@street.dev>"]
|
|
|
|
license = "MIT OR Apache-2.0"
|
|
|
|
repository = "https://github.com/encounter/objdiff"
|
|
|
|
readme = "README.md"
|
|
|
|
description = """
|
2022-12-06 22:53:32 +00:00
|
|
|
A local diffing tool for decompilation projects.
|
2022-09-08 21:19:20 +00:00
|
|
|
"""
|
2022-12-06 22:53:32 +00:00
|
|
|
publish = false
|
2023-05-11 06:47:57 +00:00
|
|
|
build = "build.rs"
|
2022-12-06 22:53:32 +00:00
|
|
|
|
2023-11-21 17:16:15 +00:00
|
|
|
[profile.release-lto]
|
|
|
|
inherits = "release"
|
2022-12-06 22:53:32 +00:00
|
|
|
lto = "thin"
|
|
|
|
strip = "debuginfo"
|
2022-09-08 21:19:20 +00:00
|
|
|
|
2023-01-21 17:56:29 +00:00
|
|
|
[features]
|
|
|
|
default = []
|
|
|
|
wgpu = ["eframe/wgpu"]
|
2023-11-21 17:15:41 +00:00
|
|
|
wsl = []
|
2023-01-21 17:56:29 +00:00
|
|
|
|
2022-09-08 21:19:20 +00:00
|
|
|
[dependencies]
|
2023-10-06 03:55:01 +00:00
|
|
|
anyhow = "1.0.75"
|
|
|
|
byteorder = "1.5.0"
|
|
|
|
bytes = "1.5.0"
|
2022-12-06 22:53:32 +00:00
|
|
|
cfg-if = "1.0.0"
|
2023-11-21 16:57:02 +00:00
|
|
|
const_format = "0.2.32"
|
2023-09-03 13:28:22 +00:00
|
|
|
cwdemangle = "0.1.6"
|
2023-08-08 00:11:56 +00:00
|
|
|
dirs = "5.0.1"
|
2023-10-06 03:55:01 +00:00
|
|
|
eframe = { version = "0.23.0", features = ["persistence"] }
|
|
|
|
egui = "0.23.0"
|
|
|
|
egui_extras = "0.23.0"
|
2023-10-07 18:48:34 +00:00
|
|
|
filetime = "0.2.22"
|
2023-10-06 03:55:01 +00:00
|
|
|
flagset = "0.4.4"
|
2023-08-08 00:11:56 +00:00
|
|
|
globset = { version = "0.4.13", features = ["serde1"] }
|
2023-10-06 03:55:01 +00:00
|
|
|
log = "0.4.20"
|
|
|
|
memmap2 = "0.9.0"
|
|
|
|
notify = "6.1.1"
|
|
|
|
object = { version = "0.32.1", features = ["read_core", "std", "elf"], default-features = false }
|
|
|
|
png = "0.17.10"
|
Repaint rework: more responsive, less energy
Previously, we repainted every frame on Windows at full refresh rate.
This is an enormous waste, as the UI will be static most of the time.
This was to work around a bug with `rfd` + `eframe`.
On other platforms, we only repainted every frame when a job was running,
which was better, but still not ideal. We also had a 100ms deadline, so
we'd repaint at ~10fps minimum to catch new events (file watcher, jobs).
This removes all repaint logic from the main loop and moves it into the
individual places where we change state from another thread.
For example, the file watcher thread will now immediately notify egui
to repaint, rather than relying on the 100ms deadline we had previously.
Jobs, when updating their status, also notify egui to repaint.
For `rfd` file dialogs, this migrates to using the async API built on top of
a polling thread + `pollster`. This interacts better with `eframe` on Windows.
Overall, this should reduce repaints and improve responsiveness to
file changes and background tasks.
2023-11-21 19:34:26 +00:00
|
|
|
pollster = "0.3.0"
|
2023-10-06 05:22:07 +00:00
|
|
|
ppc750cl = { git = "https://github.com/encounter/ppc750cl", rev = "4a2bbbc6f84dcb76255ab6f3595a8d4a0ce96618" }
|
2023-11-21 16:57:02 +00:00
|
|
|
rabbitizer = "1.8.0"
|
|
|
|
rfd = { version = "0.12.1" } #, default-features = false, features = ['xdg-portal']
|
2023-10-06 03:55:01 +00:00
|
|
|
ron = "0.8.1"
|
2023-11-21 16:57:02 +00:00
|
|
|
semver = "1.0.20"
|
2022-12-06 22:53:32 +00:00
|
|
|
serde = { version = "1", features = ["derive"] }
|
2023-11-21 16:57:02 +00:00
|
|
|
serde_json = "1.0.108"
|
|
|
|
serde_yaml = "0.9.27"
|
2023-11-21 16:48:18 +00:00
|
|
|
similar = "2.3.0"
|
2023-11-21 16:57:02 +00:00
|
|
|
tempfile = "3.8.1"
|
|
|
|
thiserror = "1.0.50"
|
|
|
|
time = { version = "0.3.30", features = ["formatting", "local-offset"] }
|
|
|
|
toml = "0.8.8"
|
2022-12-06 22:53:32 +00:00
|
|
|
twox-hash = "1.6.3"
|
2023-01-21 05:06:22 +00:00
|
|
|
|
|
|
|
# For Linux static binaries, use rustls
|
|
|
|
[target.'cfg(target_os = "linux")'.dependencies]
|
2023-10-06 03:55:01 +00:00
|
|
|
reqwest = { version = "0.11.22", default-features = false, features = ["blocking", "json", "rustls"] }
|
2023-11-21 16:57:02 +00:00
|
|
|
self_update = { version = "0.39.0", default-features = false, features = ["rustls"] }
|
2023-01-21 05:06:22 +00:00
|
|
|
|
|
|
|
# For all other platforms, use native TLS
|
|
|
|
[target.'cfg(not(target_os = "linux"))'.dependencies]
|
2023-10-06 03:55:01 +00:00
|
|
|
reqwest = "0.11.22"
|
2023-11-21 16:57:02 +00:00
|
|
|
self_update = "0.39.0"
|
2022-09-08 21:19:20 +00:00
|
|
|
|
2022-09-12 00:31:58 +00:00
|
|
|
[target.'cfg(windows)'.dependencies]
|
2022-12-06 22:53:32 +00:00
|
|
|
path-slash = "0.2.1"
|
2022-09-12 00:31:58 +00:00
|
|
|
winapi = "0.3.9"
|
|
|
|
|
2022-12-10 15:34:03 +00:00
|
|
|
[target.'cfg(windows)'.build-dependencies]
|
|
|
|
winres = "0.1.12"
|
|
|
|
|
2022-12-06 22:53:32 +00:00
|
|
|
[target.'cfg(unix)'.dependencies]
|
|
|
|
exec = "0.3.1"
|
|
|
|
|
2022-09-08 21:19:20 +00:00
|
|
|
# native:
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
|
|
|
tracing-subscriber = "0.3"
|
|
|
|
|
|
|
|
# web:
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
2022-12-06 22:53:32 +00:00
|
|
|
console_error_panic_hook = "0.1.7"
|
2022-09-08 21:19:20 +00:00
|
|
|
tracing-wasm = "0.2"
|
2022-12-06 22:53:32 +00:00
|
|
|
|
|
|
|
[build-dependencies]
|
2023-10-06 03:55:01 +00:00
|
|
|
anyhow = "1.0.75"
|
2023-11-21 16:57:02 +00:00
|
|
|
vergen = { version = "8.2.6", features = ["build", "cargo", "git", "gitcl"] }
|