2024-02-27 01:43:26 +00:00
|
|
|
[package]
|
|
|
|
name = "objdiff-core"
|
2024-08-21 03:40:32 +00:00
|
|
|
version = "2.0.0-beta.5"
|
2024-02-27 01:43:26 +00:00
|
|
|
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.
|
|
|
|
"""
|
|
|
|
|
2024-08-21 03:40:32 +00:00
|
|
|
[lib]
|
|
|
|
crate-type = ["cdylib", "rlib"]
|
|
|
|
|
2024-02-27 01:43:26 +00:00
|
|
|
[features]
|
2024-06-04 01:08:49 +00:00
|
|
|
all = ["config", "dwarf", "mips", "ppc", "x86", "arm"]
|
2024-02-27 01:43:26 +00:00
|
|
|
any-arch = [] # Implicit, used to check if any arch is enabled
|
2024-03-17 18:06:18 +00:00
|
|
|
config = ["globset", "semver", "serde_json", "serde_yaml"]
|
2024-02-27 01:43:26 +00:00
|
|
|
dwarf = ["gimli"]
|
|
|
|
mips = ["any-arch", "rabbitizer"]
|
2024-07-22 04:25:54 +00:00
|
|
|
ppc = ["any-arch", "cwdemangle", "cwextab", "ppc750cl"]
|
2024-03-22 03:36:23 +00:00
|
|
|
x86 = ["any-arch", "cpp_demangle", "iced-x86", "msvc-demangler"]
|
2024-06-21 00:36:25 +00:00
|
|
|
arm = ["any-arch", "cpp_demangle", "unarm", "arm-attr"]
|
2024-08-21 03:40:32 +00:00
|
|
|
wasm = ["serde_json"]
|
2024-02-27 01:43:26 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2024-05-01 02:06:04 +00:00
|
|
|
anyhow = "1.0.82"
|
2024-02-27 01:43:26 +00:00
|
|
|
byteorder = "1.5.0"
|
|
|
|
filetime = "0.2.23"
|
2024-03-14 00:20:46 +00:00
|
|
|
flagset = "0.4.5"
|
|
|
|
log = "0.4.21"
|
|
|
|
memmap2 = "0.9.4"
|
2024-02-27 01:43:26 +00:00
|
|
|
num-traits = "0.2.18"
|
2024-05-01 02:06:04 +00:00
|
|
|
object = { version = "0.35.0", features = ["read_core", "std", "elf", "pe"], default-features = false }
|
2024-08-21 03:40:32 +00:00
|
|
|
pbjson = "0.7.0"
|
|
|
|
prost = "0.13.1"
|
2024-02-27 01:43:26 +00:00
|
|
|
serde = { version = "1", features = ["derive"] }
|
2024-05-01 02:06:04 +00:00
|
|
|
similar = { version = "2.5.0", default-features = false }
|
2024-05-22 00:06:14 +00:00
|
|
|
strum = { version = "0.26.2", features = ["derive"] }
|
2024-08-21 03:40:32 +00:00
|
|
|
wasm-bindgen = "0.2.93"
|
2024-02-28 01:47:51 +00:00
|
|
|
|
|
|
|
# config
|
2024-03-17 18:06:18 +00:00
|
|
|
globset = { version = "0.4.14", features = ["serde1"], optional = true }
|
|
|
|
semver = { version = "1.0.22", optional = true }
|
2024-05-01 02:06:04 +00:00
|
|
|
serde_json = { version = "1.0.116", optional = true }
|
|
|
|
serde_yaml = { version = "0.9.34", optional = true }
|
2024-03-17 18:06:18 +00:00
|
|
|
|
|
|
|
# dwarf
|
2024-05-01 02:06:04 +00:00
|
|
|
gimli = { version = "0.29.0", default-features = false, features = ["read-all"], optional = true }
|
2024-03-17 18:06:18 +00:00
|
|
|
|
|
|
|
# ppc
|
|
|
|
cwdemangle = { version = "1.0.0", optional = true }
|
2024-07-22 04:25:54 +00:00
|
|
|
cwextab = { version = "0.2.3", optional = true }
|
2024-05-01 02:06:04 +00:00
|
|
|
ppc750cl = { git = "https://github.com/encounter/ppc750cl", rev = "6cbd7d888c7082c2c860f66cbb9848d633f753ed", optional = true }
|
2024-03-17 18:06:18 +00:00
|
|
|
|
|
|
|
# mips
|
2024-06-04 00:50:22 +00:00
|
|
|
rabbitizer = { version = "1.11.0", optional = true }
|
2024-03-17 05:30:27 +00:00
|
|
|
|
|
|
|
# x86
|
2024-03-22 03:36:23 +00:00
|
|
|
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 }
|
2024-03-17 05:30:27 +00:00
|
|
|
msvc-demangler = { version = "0.10.0", optional = true }
|
2024-06-04 01:08:49 +00:00
|
|
|
|
|
|
|
# arm
|
2024-07-14 22:00:57 +00:00
|
|
|
unarm = { version = "1.4.0", optional = true }
|
2024-06-21 00:36:25 +00:00
|
|
|
arm-attr = { version = "0.1.1", optional = true }
|
2024-08-21 03:40:32 +00:00
|
|
|
|
|
|
|
[build-dependencies]
|
|
|
|
prost-build = "0.13.1"
|
|
|
|
pbjson-build = "0.7.0"
|