[package]
name = "hlbc-gui"
version = "0.3.0"
authors = ["Guillaume Anthouard <25181283+Gui-Yom@users.noreply.github.com>"]
edition = "2021"
rust-version = "1.70"
description = "Hashlink bytecode disassembler, analyzer and decompiler gui"
repository = "https://github.com/Gui-Yom/hlbc"
license = "MIT"
categories = ["command-line-utilities", "parser-implementations", "visualization", "compilers"]
keywords = ["hashlink", "bytecode", "haxe", "disassembler", "reverse-enginneering"]
include = ["src/**/*", "README.md", "CHANGELOG.md", "assets/Haxe.sublime-syntax"]
[dependencies]
eframe = { version = "0.23", default-features = false }
egui_dock = { version = "0.8" }
egui_ui_refresh = { version = "0.1", path = "../../../egui_ui_refresh" }
hlbc = { version = "0.7", path = "../hlbc", default-features = false }
hlbc-decompiler = { version = "0.7", path = "../decompiler", default-features = false }
hlbc-indexing = { version = "0.7", path = "../indexing", optional = true }
rfd = { version = "0.12", features = ["file-handle-inner"] }
webbrowser = "0.8"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
poll-promise = { version = "0.3" }
syntect = { version = "5", default-features = false, features = ["parsing", "yaml-load", "default-themes", "regex-onig"] }
[target.'cfg(target_arch = "wasm32")'.dependencies]
console_error_panic_hook = "0.1"
poll-promise = { version = "0.3", features = ["web"] }
syntect = { version = "5", default-features = false, features = ["parsing", "yaml-load", "default-themes", "regex-fancy"] }
wasm-bindgen-futures = "0.4"
[features]
default = ["search", "wgpu"]
callgraph = ["hlbc/graph"]
search = ["hlbc-indexing"]
wgpu = ["eframe/wgpu"]
glow = ["eframe/glow"]