[package] name = "objdiff-core" version = "2.0.0-beta.5" edition = "2021" rust-version = "1.70" authors = ["Luke Street "] license = "MIT OR Apache-2.0" repository = "https://github.com/encounter/objdiff" readme = "../README.md" description = """ A local diffing tool for decompilation projects. """ [lib] crate-type = ["cdylib", "rlib"] [features] all = ["config", "dwarf", "mips", "ppc", "x86", "arm", "bindings"] any-arch = [] # Implicit, used to check if any arch is enabled config = ["globset", "semver", "serde_json", "serde_yaml"] dwarf = ["gimli"] mips = ["any-arch", "rabbitizer"] ppc = ["any-arch", "cwdemangle", "cwextab", "ppc750cl"] x86 = ["any-arch", "cpp_demangle", "iced-x86", "msvc-demangler"] arm = ["any-arch", "cpp_demangle", "unarm", "arm-attr"] bindings = ["serde_json", "prost", "pbjson"] wasm = ["bindings", "console_error_panic_hook", "console_log"] [dependencies] anyhow = "1.0.82" byteorder = "1.5.0" filetime = "0.2.23" flagset = "0.4.5" log = "0.4.21" memmap2 = "0.9.4" num-traits = "0.2.18" object = { version = "0.35.0", features = ["read_core", "std", "elf", "pe"], default-features = false } pbjson = { version = "0.7.0", optional = true } prost = { version = "0.13.1", optional = true } serde = { version = "1", features = ["derive"] } similar = { version = "2.5.0", default-features = false } strum = { version = "0.26.2", features = ["derive"] } wasm-bindgen = "0.2.93" tsify-next = { version = "0.5.4", default-features = false, features = ["js"] } console_log = { version = "1.0.0", optional = true } console_error_panic_hook = { version = "0.1.7", optional = true } # config globset = { version = "0.4.14", features = ["serde1"], optional = true } semver = { version = "1.0.22", optional = true } serde_json = { version = "1.0.116", optional = true } serde_yaml = { version = "0.9.34", optional = true } # dwarf gimli = { version = "0.29.0", default-features = false, features = ["read-all"], optional = true } # ppc cwdemangle = { version = "1.0.0", optional = true } cwextab = { version = "0.2.3", optional = true } ppc750cl = { git = "https://github.com/encounter/ppc750cl", rev = "6cbd7d888c7082c2c860f66cbb9848d633f753ed", optional = true } # mips rabbitizer = { version = "1.11.0", optional = true } # x86 cpp_demangle = { version = "0.4.3", optional = true } iced-x86 = { version = "1.21.0", default-features = false, features = ["std", "decoder", "intel", "gas", "masm", "nasm", "exhaustive_enums"], optional = true } msvc-demangler = { version = "0.10.0", optional = true } # arm unarm = { version = "1.5.0", optional = true } arm-attr = { version = "0.1.1", optional = true } [build-dependencies] prost-build = "0.13.1" pbjson-build = "0.7.0"