iridia 0.5.0

Compiled Direct3D shaders as naga modules: the program type the iridia readers produce, with validation, a WGSL writer and analyses
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.99"
name = "iridia"
version = "0.5.0"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Compiled Direct3D shaders as naga modules: the program type the iridia readers produce, with validation, a WGSL writer and analyses"
documentation = "https://docs.rs/iridia"
readme = "README.md"
keywords = [
    "dxbc",
    "wgsl",
    "spirv",
    "shader",
    "decompiler",
]
categories = [
    "graphics",
    "compilers",
    "game-development",
]
license = "GPL-3.0-or-later"
repository = "https://github.com/Kalmarv/iridia"

[lib]
name = "iridia"
path = "src/lib.rs"

[[example]]
name = "lift"
path = "examples/lift.rs"

[[example]]
name = "to_spirv"
path = "examples/to_spirv.rs"

[[example]]
name = "to_wgsl"
path = "examples/to_wgsl.rs"

[[test]]
name = "alpha_reference"
path = "tests/alpha_reference.rs"

[[test]]
name = "blend"
path = "tests/blend.rs"

[[test]]
name = "builder"
path = "tests/builder.rs"

[[test]]
name = "compute"
path = "tests/compute.rs"

[[test]]
name = "flow"
path = "tests/flow.rs"

[[test]]
name = "flow_input_bindings"
path = "tests/flow_input_bindings.rs"

[[test]]
name = "flow_stages"
path = "tests/flow_stages.rs"

[[test]]
name = "matrix_lines"
path = "tests/matrix_lines.rs"

[[test]]
name = "output_stores"
path = "tests/output_stores.rs"

[[test]]
name = "output_uses"
path = "tests/output_uses.rs"

[[test]]
name = "program"
path = "tests/program.rs"

[[test]]
name = "specialise"
path = "tests/specialise.rs"

[[test]]
name = "wgsl_for"
path = "tests/wgsl_for.rs"

[[test]]
name = "words_read"
path = "tests/words_read.rs"

[dependencies.iridia-interface]
version = "0.5.0"

[dependencies.iridia-ir]
version = "0.5.0"

[dependencies.iridia-passes]
version = "0.5.0"

[dependencies.naga]
version = "30.0.1"
features = ["wgsl-out"]
default-features = false
package = "primase-naga"

[dependencies.sha2]
version = "=0.11.1"
default-features = false

[dependencies.thiserror]
version = "=2.0.21"
features = ["std"]
default-features = false

[dev-dependencies.naga]
version = "30.0.1"
features = [
    "wgsl-out",
    "wgsl-in",
    "spv-out",
]
default-features = false
package = "primase-naga"

[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"