[package]
edition = "2024"
rust-version = "1.87.0"
name = "metrowrap"
version = "0.2.1"
authors = ["Jonathan Hohle <jon@ttkb.co>"]
build = false
exclude = [
".gitignore",
"/.github",
"target/.private",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A mwcc wrapper"
readme = "README.md"
keywords = [
"mwcc",
"metrowerks",
"codewarrior",
"decompiling",
"asm",
]
categories = [
"data-structures",
"development-tools",
"game-development",
"compilers",
"command-line-utilities",
]
license = "BSD-3-Clause"
repository = "https://github.com/ttkb-oss/metrowrap"
[lib]
name = "metrowrap"
path = "src/lib.rs"
[[bin]]
name = "mw"
path = "src/main.rs"
[[test]]
name = "add_symbol_get_index_tests"
path = "tests/add_symbol_get_index_tests.rs"
[[test]]
name = "assembler_tests"
path = "tests/assembler_tests.rs"
[[test]]
name = "compiler_tests"
path = "tests/compiler_tests.rs"
[[test]]
name = "dependency_tests"
path = "tests/dependency_tests.rs"
[[test]]
name = "elf_tests"
path = "tests/elf_tests.rs"
[[test]]
name = "metrowrap_tests"
path = "tests/metrowrap_tests.rs"
[[test]]
name = "preprocessor_tests"
path = "tests/preprocessor_tests.rs"
[[test]]
name = "relocation_logic_unit_tests"
path = "tests/relocation_logic_unit_tests.rs"
[[test]]
name = "rodata_edge_case_tests"
path = "tests/rodata_edge_case_tests.rs"
[[test]]
name = "rodata_splitting_implementation_tests"
path = "tests/rodata_splitting_implementation_tests.rs"
[dependencies.clap]
version = "4.4"
features = ["derive"]
[dependencies.memchr]
version = "2.7"
[dependencies.tempfile]
version = "3"
[dependencies.thiserror]
version = "1.0"
[dev-dependencies.object]
version = "0.32"
features = [
"write",
"elf",
]
[profile.release]
lto = "thin"
codegen-units = 1