[package]
edition = "2024"
rust-version = "1.99"
name = "d3d9-reader"
version = "0.9.1"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Direct3D 9 shader bytecode parser: reads vs/ps 1.x, 2.x and 3.0 token streams into typed declarations, definitions and instructions, with the CTAB constant table"
documentation = "https://docs.rs/d3d9-reader"
readme = "README.md"
keywords = [
"d3d9",
"shader",
"bytecode",
"direct3d",
"parser",
]
categories = [
"parser-implementations",
"graphics",
]
license = "GPL-3.0-or-later"
repository = "https://github.com/Kalmarv/dx"
[lib]
name = "d3d9_reader"
path = "src/lib.rs"
[[test]]
name = "assembled"
path = "tests/assembled.rs"
[[test]]
name = "corpora"
path = "tests/corpora.rs"
[[test]]
name = "disasm"
path = "tests/disasm.rs"
[[test]]
name = "real_data_inputs"
path = "tests/real_data_inputs.rs"
[[test]]
name = "sm1"
path = "tests/sm1.rs"
[[test]]
name = "sm2_sm3"
path = "tests/sm2_sm3.rs"
[[test]]
name = "stream"
path = "tests/stream.rs"
[dependencies.thiserror]
version = "=2.0.21"
features = ["std"]
default-features = false
[dev-dependencies.primase-testdata]
version = "0.1.16"
[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"