[package] name = "objdiff-core" version = "1.0.0" 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. """ [features] all = ["config", "dwarf", "mips", "ppc", "x86"] 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", "ppc750cl"] x86 = ["any-arch", "iced-x86", "msvc-demangler"] [dependencies] anyhow = "1.0.81" 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.34.0", features = ["read_core", "std", "elf", "pe"], default-features = false } serde = { version = "1", features = ["derive"] } similar = { version = "2.4.0", default-features = false } # config globset = { version = "0.4.14", features = ["serde1"], optional = true } semver = { version = "1.0.22", optional = true } serde_json = { version = "1.0.114", optional = true } serde_yaml = { version = "0.9.32", optional = true } # dwarf gimli = { version = "0.28.1", default-features = false, features = ["read-all"], optional = true } # ppc cwdemangle = { version = "1.0.0", optional = true } ppc750cl = { git = "https://github.com/encounter/ppc750cl", rev = "4a2bbbc6f84dcb76255ab6f3595a8d4a0ce96618", optional = true } # mips rabbitizer = { version = "1.9.2", optional = true } # x86 msvc-demangler = { version = "0.10.0", optional = true } [dependencies.iced-x86] version = "1.21.0" default-features = false features = ["std", "decoder", "intel", "gas", "masm", "nasm", "exhaustive_enums"] optional = true