Files
objdiff/objdiff-core/Cargo.toml
T

81 lines
2.6 KiB
TOML
Raw Normal View History

[package]
name = "objdiff-core"
2024-09-09 19:32:22 -06:00
version.workspace = true
edition.workspace = true
rust-version.workspace = true
authors.workspace = true
license.workspace = true
repository.workspace = true
2024-09-09 20:18:56 -06:00
readme = "README.md"
description = """
A local diffing tool for decompilation projects.
"""
2024-09-09 19:32:22 -06:00
documentation = "https://docs.rs/objdiff-core"
2024-08-20 21:40:32 -06:00
[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"]
2024-07-22 00:25:54 -04:00
ppc = ["any-arch", "cwdemangle", "cwextab", "ppc750cl"]
x86 = ["any-arch", "cpp_demangle", "iced-x86", "msvc-demangler"]
2024-06-21 02:36:25 +02:00
arm = ["any-arch", "cpp_demangle", "unarm", "arm-attr"]
bindings = ["serde_json", "prost", "pbjson"]
wasm = ["bindings", "console_error_panic_hook", "console_log"]
2024-09-10 23:22:09 -06:00
[package.metadata.docs.rs]
features = ["all"]
[dependencies]
2024-09-09 19:26:46 -06:00
anyhow = "1.0"
byteorder = "1.5"
filetime = "0.2"
flagset = "0.4"
log = "0.4"
memmap2 = "0.9"
num-traits = "0.2"
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 }
serde = { version = "1.0", features = ["derive"] }
similar = { version = "2.6", default-features = false }
strum = { version = "0.26", features = ["derive"] }
wasm-bindgen = "0.2"
tsify-next = { version = "0.5", default-features = false, features = ["js"] }
console_log = { version = "1.0", optional = true }
console_error_panic_hook = { version = "0.1", optional = true }
2024-02-27 18:47:51 -07:00
# config
2024-09-09 19:26:46 -06: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 }
# dwarf
2024-09-09 19:26:46 -06:00
gimli = { version = "0.31", default-features = false, features = ["read-all"], optional = true }
# ppc
2024-09-09 19:26:46 -06:00
cwdemangle = { version = "1.0", optional = true }
2024-09-24 11:16:14 -04:00
cwextab = { version = "0.3.1", optional = true }
2024-09-09 19:41:29 -06:00
ppc750cl = { version = "0.3", optional = true }
# mips
2024-09-09 19:26:46 -06:00
rabbitizer = { version = "1.12", optional = true }
2024-03-16 23:30:27 -06:00
# x86
2024-09-09 19:26:46 -06: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 03:08:49 +02:00
# arm
2024-09-09 19:26:46 -06:00
unarm = { version = "1.6", optional = true }
arm-attr = { version = "0.1", optional = true }
2024-08-20 21:40:32 -06:00
[build-dependencies]
2024-09-09 19:26:46 -06:00
prost-build = "0.13"
pbjson-build = "0.7"