[package]
name = "randomprime"
version = "0.2.3"
authors = ["April Wade <wayedt@gmail.com>"]
edition = "2021"

[dependencies]
adler32 = "1.0"
clap = "2.9"
encoding = "0.2"
enum-map = { version = "0.6", features = ["serde"] }
flate2 = "1.0"
image = { version = "0.23", default-features = false, features = ["png"] }
num-bigint = "0.2"
num-integer = "0.1"
num-traits = "0.2"
memmap = "0.7"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
ssmarshal = "1"
rand = "0.7"
winapi = "0.3"
lazy_static = "1.4"


auto_struct_macros = { path = "auto_struct_macros" }
dol_linker = { path = "dol_linker" }
dol_symbol_table = { path = "generated/dol_symbol_table" }
json_data = { path = "generated/json_data" }
json_strip = { path = "generated/json_strip" }
libsquish_wrapper = { path = "libsquish_wrapper" }
nod_wrapper = { path = "nod_wrapper" }
ppcasm = { path = "ppcasm" }
reader_writer = { path = "reader_writer" }
rel_files = { path = "generated/rel_files" }
resource_info_table = { path = "generated/resource_info_table" }
structs = { path = "structs" }

[profile.release]
lto = "thin"
panic = "unwind"

[workspace]
members = [
    "auto_struct_macros",
    "dol_linker",
        "generated/rel_files",
        "generated/resource_info_table",
            "generated/resource_info_table/resource_info_table_macro",
        "generated/dol_symbol_table",
            "generated/dol_symbol_table/dol_symbol_table_macro",
        "generated/json_data",
        "generated/json_strip",
    "libsquish_wrapper",
    "nod_wrapper",
    "ppcasm",
        "ppcasm/ppcasm_macro",
    "reader_writer",
    "structs",
]

[lib]
name = "randomprime"
path = "src/lib.rs"
crate-type = ["rlib", "staticlib"]
