[package]
edition = "2024"
rust-version = "1.99"
name = "rsx-reader"
version = "0.9.1"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "PlayStation 3 RSX reader: CellGcmTexture descriptors, CgBinaryProgram shader containers and fragment program microcode decoded to typed instructions"
documentation = "https://docs.rs/rsx-reader"
readme = "README.md"
keywords = [
"ps3",
"rsx",
"shader",
"cg",
"gcm",
]
categories = [
"parser-implementations",
"graphics",
]
license = "GPL-3.0-or-later"
repository = "https://github.com/Kalmarv/dx"
[lib]
name = "rsx_reader"
path = "src/lib.rs"
[[example]]
name = "inspect_rsx"
path = "examples/inspect_rsx.rs"
[[test]]
name = "cgbinary"
path = "tests/cgbinary.rs"
[[test]]
name = "fragment"
path = "tests/fragment.rs"
[[test]]
name = "gcm"
path = "tests/gcm.rs"
[[test]]
name = "vertex"
path = "tests/vertex.rs"
[dependencies.primase-foundations]
version = "0.3.1"
[dependencies.thiserror]
version = "=2.0.21"
features = ["std"]
default-features = false
[lints.clippy]
dbg_macro = "warn"
disallowed_methods = "allow"
disallowed_types = "allow"
float_cmp = "allow"
iter_over_hash_type = "deny"
todo = "warn"
unwrap_used = "warn"
[lints.rust]
missing_debug_implementations = "warn"
unsafe_code = "deny"
unused_must_use = "deny"