[package]
edition = "2024"
rust-version = "1.99"
name = "dxil-reader"
version = "0.4.0"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "DXIL reader: decodes Direct3D Shader Model 6 programs (LLVM bitcode in a DXBC container) to modules, with resource, signature and RDAT reflection records"
documentation = "https://docs.rs/dxil-reader"
readme = "README.md"
keywords = [
"dxil",
"dxbc",
"shader",
"llvm",
"direct3d",
]
categories = [
"parser-implementations",
"graphics",
]
license = "GPL-3.0-or-later"
repository = "https://github.com/Kalmarv/dx"
[lib]
name = "dxil_reader"
path = "src/lib.rs"
[[example]]
name = "inspect_dxil"
path = "examples/inspect_dxil.rs"
[[example]]
name = "pairs_dxil"
path = "examples/pairs_dxil.rs"
[[test]]
name = "decode"
path = "tests/decode.rs"
[[test]]
name = "extras"
path = "tests/extras.rs"
[[test]]
name = "precise"
path = "tests/precise.rs"
[[test]]
name = "psv"
path = "tests/psv.rs"
[[test]]
name = "rdat"
path = "tests/rdat.rs"
[[test]]
name = "sampling"
path = "tests/sampling.rs"
[[test]]
name = "untrusted"
path = "tests/untrusted.rs"
[[test]]
name = "widening"
path = "tests/widening.rs"
[dependencies.dxcontainer]
version = "0.4.0"
[dependencies.primase-foundations]
version = "0.3.0"
[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"