[package]
edition = "2024"
rust-version = "1.99"
name = "dxcontainer"
version = "0.6.0"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Parser for the DXBC container that holds Direct3D shader bytecode (DXBC and DXIL, Shader Model 4 to 6): reads the part directory and computes the digest"
documentation = "https://docs.rs/dxcontainer"
readme = "README.md"
keywords = [
"dxbc",
"dxil",
"shader",
"direct3d",
"container",
]
categories = [
"parser-implementations",
"graphics",
]
license = "GPL-3.0-or-later"
repository = "https://github.com/Kalmarv/dx"
[lib]
name = "dxcontainer"
path = "src/lib.rs"
[[example]]
name = "partlist"
path = "examples/partlist.rs"
[[example]]
name = "parts"
path = "examples/parts.rs"
[[example]]
name = "rewrite"
path = "examples/rewrite.rs"
[[test]]
name = "container"
path = "tests/container.rs"
[[test]]
name = "features"
path = "tests/features.rs"
[[test]]
name = "writer"
path = "tests/writer.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"