mirror of
https://github.com/encounter/objdiff.git
synced 2025-06-07 23:23:34 +00:00
43 lines
1.1 KiB
TOML
43 lines
1.1 KiB
TOML
[package]
|
|
name = "objdiff-wasm"
|
|
version.workspace = true
|
|
# TODO: Update to 2024
|
|
# https://github.com/bytecodealliance/wit-bindgen/pull/1183
|
|
edition = "2021"
|
|
rust-version.workspace = true
|
|
authors.workspace = true
|
|
license.workspace = true
|
|
repository.workspace = true
|
|
readme = "../README.md"
|
|
description = """
|
|
A local diffing tool for decompilation projects.
|
|
"""
|
|
publish = false
|
|
build = "build.rs"
|
|
|
|
[lib]
|
|
crate-type = ["cdylib"]
|
|
|
|
[features]
|
|
default = ["std"]
|
|
std = ["objdiff-core/std"]
|
|
|
|
[dependencies]
|
|
log = { version = "0.4", default-features = false }
|
|
regex = { version = "1.11", default-features = false, features = ["unicode-case"] }
|
|
xxhash-rust = { version = "0.8", default-features = false, features = ["xxh3"] }
|
|
|
|
[dependencies.objdiff-core]
|
|
path = "../objdiff-core"
|
|
default-features = false
|
|
features = ["arm", "arm64", "mips", "ppc", "x86", "dwarf"]
|
|
|
|
[target.'cfg(target_family = "wasm")'.dependencies]
|
|
talc = { version = "4.4", default-features = false, features = ["lock_api"] }
|
|
|
|
[target.'cfg(target_os = "wasi")'.dependencies]
|
|
wit-bindgen = { version = "0.40", default-features = false, features = ["macros"] }
|
|
|
|
[build-dependencies]
|
|
wit-deps = "0.5"
|