2024-02-27 01:43:26 +00:00
|
|
|
[package]
|
|
|
|
name = "objdiff-core"
|
2024-09-10 01:32:22 +00:00
|
|
|
version.workspace = true
|
|
|
|
edition.workspace = true
|
|
|
|
rust-version.workspace = true
|
|
|
|
authors.workspace = true
|
|
|
|
license.workspace = true
|
|
|
|
repository.workspace = true
|
2024-09-10 02:18:56 +00:00
|
|
|
readme = "README.md"
|
2024-02-27 01:43:26 +00:00
|
|
|
description = """
|
|
|
|
A local diffing tool for decompilation projects.
|
|
|
|
"""
|
2024-09-10 01:32:22 +00:00
|
|
|
documentation = "https://docs.rs/objdiff-core"
|
2024-02-27 01:43:26 +00:00
|
|
|
|
2024-08-21 03:40:32 +00:00
|
|
|
[lib]
|
|
|
|
crate-type = ["cdylib", "rlib"]
|
|
|
|
|
2024-02-27 01:43:26 +00:00
|
|
|
[features]
|
2024-12-29 23:57:18 +00:00
|
|
|
all = [
|
|
|
|
# Features
|
|
|
|
"bindings",
|
|
|
|
"build",
|
|
|
|
"config",
|
|
|
|
"dwarf",
|
|
|
|
# Architectures
|
|
|
|
"mips",
|
|
|
|
"ppc",
|
|
|
|
"x86",
|
|
|
|
"arm",
|
|
|
|
"arm64",
|
|
|
|
]
|
|
|
|
# Implicit, used to check if any arch is enabled
|
|
|
|
any-arch = [
|
|
|
|
"config",
|
|
|
|
"dep:bimap",
|
|
|
|
"dep:byteorder",
|
|
|
|
"dep:flagset",
|
|
|
|
"dep:heck",
|
|
|
|
"dep:log",
|
|
|
|
"dep:memmap2",
|
|
|
|
"dep:num-traits",
|
|
|
|
"dep:prettyplease",
|
|
|
|
"dep:proc-macro2",
|
|
|
|
"dep:quote",
|
|
|
|
"dep:serde",
|
|
|
|
"dep:serde_json",
|
|
|
|
"dep:similar",
|
|
|
|
"dep:strum",
|
|
|
|
"dep:syn",
|
|
|
|
]
|
|
|
|
bindings = [
|
|
|
|
"dep:pbjson",
|
|
|
|
"dep:pbjson-build",
|
|
|
|
"dep:prost",
|
|
|
|
"dep:prost-build",
|
|
|
|
"dep:serde",
|
|
|
|
"dep:serde_json",
|
|
|
|
]
|
|
|
|
build = [
|
|
|
|
"dep:notify",
|
|
|
|
"dep:notify-debouncer-full",
|
|
|
|
"dep:path-slash",
|
|
|
|
"dep:reqwest",
|
|
|
|
"dep:self_update",
|
|
|
|
"dep:shell-escape",
|
|
|
|
"dep:tempfile",
|
|
|
|
"dep:time",
|
|
|
|
"dep:winapi",
|
|
|
|
]
|
|
|
|
config = [
|
|
|
|
"dep:bimap",
|
|
|
|
"dep:filetime",
|
|
|
|
"dep:globset",
|
|
|
|
"dep:semver",
|
|
|
|
"dep:serde",
|
|
|
|
"dep:serde_json",
|
|
|
|
"dep:serde_yaml",
|
|
|
|
]
|
2024-10-21 02:04:29 +00:00
|
|
|
dwarf = ["dep:gimli"]
|
2024-12-29 23:57:18 +00:00
|
|
|
mips = [
|
|
|
|
"any-arch",
|
|
|
|
"dep:rabbitizer",
|
|
|
|
]
|
|
|
|
ppc = [
|
|
|
|
"any-arch",
|
|
|
|
"dep:cwdemangle",
|
|
|
|
"dep:cwextab",
|
|
|
|
"dep:ppc750cl",
|
|
|
|
]
|
|
|
|
x86 = [
|
|
|
|
"any-arch",
|
|
|
|
"dep:cpp_demangle",
|
|
|
|
"dep:iced-x86",
|
|
|
|
"dep:msvc-demangler",
|
|
|
|
]
|
|
|
|
arm = [
|
|
|
|
"any-arch",
|
|
|
|
"dep:arm-attr",
|
|
|
|
"dep:cpp_demangle",
|
|
|
|
"dep:unarm",
|
|
|
|
]
|
|
|
|
arm64 = [
|
|
|
|
"any-arch",
|
|
|
|
"dep:cpp_demangle",
|
|
|
|
"dep:yaxpeax-arch",
|
|
|
|
"dep:yaxpeax-arm",
|
|
|
|
]
|
|
|
|
wasm = [
|
|
|
|
"any-arch",
|
|
|
|
"bindings",
|
|
|
|
"dep:console_error_panic_hook",
|
|
|
|
"dep:console_log",
|
|
|
|
"dep:log",
|
|
|
|
"dep:tsify-next",
|
|
|
|
"dep:wasm-bindgen",
|
|
|
|
]
|
2024-02-27 01:43:26 +00:00
|
|
|
|
2024-09-11 05:22:09 +00:00
|
|
|
[package.metadata.docs.rs]
|
|
|
|
features = ["all"]
|
|
|
|
|
2024-02-27 01:43:26 +00:00
|
|
|
[dependencies]
|
2024-09-10 01:26:46 +00:00
|
|
|
anyhow = "1.0"
|
2024-10-10 03:44:18 +00:00
|
|
|
bimap = { version = "0.6", features = ["serde"], optional = true }
|
2024-10-21 02:04:29 +00:00
|
|
|
byteorder = { version = "1.5", optional = true }
|
|
|
|
filetime = { version = "0.2", optional = true }
|
|
|
|
flagset = { version = "0.4", optional = true }
|
|
|
|
log = { version = "0.4", optional = true }
|
|
|
|
memmap2 = { version = "0.9", optional = true }
|
|
|
|
num-traits = { version = "0.2", optional = true }
|
2024-09-10 01:26:46 +00:00
|
|
|
object = { version = "0.36", features = ["read_core", "std", "elf", "pe"], default-features = false }
|
|
|
|
pbjson = { version = "0.7", optional = true }
|
|
|
|
prost = { version = "0.13", optional = true }
|
2024-10-21 02:04:29 +00:00
|
|
|
serde = { version = "1.0", features = ["derive"], optional = true }
|
|
|
|
similar = { version = "2.6", default-features = false, optional = true }
|
|
|
|
strum = { version = "0.26", features = ["derive"], optional = true }
|
|
|
|
wasm-bindgen = { version = "0.2", optional = true }
|
|
|
|
tsify-next = { version = "0.5", default-features = false, features = ["js"], optional = true }
|
2024-09-10 01:26:46 +00:00
|
|
|
console_log = { version = "1.0", optional = true }
|
|
|
|
console_error_panic_hook = { version = "0.1", optional = true }
|
2024-02-28 01:47:51 +00:00
|
|
|
|
|
|
|
# config
|
2024-09-10 01:26:46 +00:00
|
|
|
globset = { version = "0.4", features = ["serde1"], optional = true }
|
|
|
|
semver = { version = "1.0", optional = true }
|
|
|
|
serde_json = { version = "1.0", optional = true }
|
|
|
|
serde_yaml = { version = "0.9", optional = true }
|
2024-03-17 18:06:18 +00:00
|
|
|
|
|
|
|
# dwarf
|
2024-09-10 01:26:46 +00:00
|
|
|
gimli = { version = "0.31", default-features = false, features = ["read-all"], optional = true }
|
2024-03-17 18:06:18 +00:00
|
|
|
|
|
|
|
# ppc
|
2024-09-10 01:26:46 +00:00
|
|
|
cwdemangle = { version = "1.0", optional = true }
|
2024-10-03 07:12:37 +00:00
|
|
|
cwextab = { version = "1.0.2", optional = true }
|
2024-09-10 01:41:29 +00:00
|
|
|
ppc750cl = { version = "0.3", optional = true }
|
2024-03-17 18:06:18 +00:00
|
|
|
|
|
|
|
# mips
|
2024-09-10 01:26:46 +00:00
|
|
|
rabbitizer = { version = "1.12", optional = true }
|
2024-03-17 05:30:27 +00:00
|
|
|
|
|
|
|
# x86
|
2024-09-10 01:26:46 +00:00
|
|
|
cpp_demangle = { version = "0.4", optional = true }
|
|
|
|
iced-x86 = { version = "1.21", default-features = false, features = ["std", "decoder", "intel", "gas", "masm", "nasm", "exhaustive_enums"], optional = true }
|
|
|
|
msvc-demangler = { version = "0.10", optional = true }
|
2024-06-04 01:08:49 +00:00
|
|
|
|
|
|
|
# arm
|
2024-09-10 01:26:46 +00:00
|
|
|
unarm = { version = "1.6", optional = true }
|
|
|
|
arm-attr = { version = "0.1", optional = true }
|
2024-08-21 03:40:32 +00:00
|
|
|
|
2024-10-31 06:37:01 +00:00
|
|
|
# arm64
|
|
|
|
yaxpeax-arch = { version = "0.3", default-features = false, features = ["std"], optional = true }
|
|
|
|
yaxpeax-arm = { version = "0.3", default-features = false, features = ["std"], optional = true }
|
|
|
|
|
2024-10-12 00:37:14 +00:00
|
|
|
# build
|
2024-12-09 05:39:12 +00:00
|
|
|
notify = { git = "https://github.com/notify-rs/notify", rev = "128bf6230c03d39dbb7f301ff7b20e594e34c3a2", version = "6.1.1", optional = true }
|
|
|
|
notify-debouncer-full = { git = "https://github.com/notify-rs/notify", rev = "128bf6230c03d39dbb7f301ff7b20e594e34c3a2", version = "0.4.0", optional = true }
|
2024-10-12 00:37:14 +00:00
|
|
|
shell-escape = { version = "0.1", optional = true }
|
2024-12-09 04:36:37 +00:00
|
|
|
tempfile = { version = "3.14", optional = true }
|
2024-10-12 00:37:14 +00:00
|
|
|
time = { version = "0.3", optional = true }
|
|
|
|
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
|
|
path-slash = { version = "0.2", optional = true }
|
|
|
|
winapi = { version = "0.3", optional = true }
|
|
|
|
|
|
|
|
# For Linux static binaries, use rustls
|
|
|
|
[target.'cfg(target_os = "linux")'.dependencies]
|
|
|
|
reqwest = { version = "0.12", default-features = false, features = ["blocking", "json", "multipart", "rustls-tls"], optional = true }
|
2025-01-02 03:45:48 +00:00
|
|
|
self_update = { version = "0.42", default-features = false, features = ["rustls"], optional = true }
|
2024-10-12 00:37:14 +00:00
|
|
|
|
|
|
|
# For all other platforms, use native TLS
|
|
|
|
[target.'cfg(not(target_os = "linux"))'.dependencies]
|
|
|
|
reqwest = { version = "0.12", default-features = false, features = ["blocking", "json", "multipart", "default-tls"], optional = true }
|
2025-01-02 03:45:48 +00:00
|
|
|
self_update = { version = "0.42", optional = true }
|
2024-10-12 00:37:14 +00:00
|
|
|
|
2024-08-21 03:40:32 +00:00
|
|
|
[build-dependencies]
|
2024-12-29 23:57:18 +00:00
|
|
|
heck = { version = "0.5", optional = true }
|
2024-10-21 02:04:29 +00:00
|
|
|
pbjson-build = { version = "0.7", optional = true }
|
2024-12-29 23:57:18 +00:00
|
|
|
prettyplease = { version = "0.2", optional = true }
|
|
|
|
proc-macro2 = { version = "1.0", optional = true }
|
|
|
|
prost-build = { version = "0.13", optional = true }
|
|
|
|
quote = { version = "1.0", optional = true }
|
|
|
|
serde = { version = "1.0", features = ["derive"], optional = true }
|
|
|
|
serde_json = { version = "1.0", optional = true }
|
|
|
|
syn = { version = "2.0", optional = true }
|