naga-rust-back 0.1.0

Backend for the Naga shader translator which generates Rust code.
Documentation
[dependencies.arrayvec]
default-features = false
version = "0.7.6"

[dependencies.bitflags]
version = "2.9"

[dependencies.naga]
default-features = false
version = "24.0.0"

[dev-dependencies.indoc]
default-features = false
version = "2.0.1"

[dev-dependencies.naga]
default-features = false
features = ["wgsl-in"]
version = "24.0.0"

[dev-dependencies.pretty_assertions]
version = "1.2.0"

[features]
default = []

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

[lints.clippy]
assigning_clones = "warn"
bool_assert_comparison = "allow"
cast_lossless = "warn"
cast_possible_wrap = "warn"
doc_markdown = "warn"
exhaustive_enums = "warn"
exhaustive_structs = "warn"
explicit_iter_loop = "allow"
float_cmp = "allow"
inconsistent_struct_constructor = "warn"
infinite_loop = "warn"
into_iter_without_iter = "warn"
iter_without_into_iter = "warn"
manual_let_else = "warn"
map_unwrap_or = "warn"
map_with_unused_argument_over_ranges = "warn"
match_same_arms = "allow"
missing_fields_in_debug = "warn"
module_name_repetitions = "warn"
needless_pass_by_value = "warn"
option_as_ref_cloned = "warn"
pub_without_shorthand = "warn"
return_self_not_must_use = "warn"
semicolon_if_nothing_returned = "allow"
should_panic_without_expect = "deny"
suboptimal_flops = "warn"
too_many_lines = "allow"
trivially_copy_pass_by_ref = "warn"
undocumented_unsafe_blocks = "warn"
uninlined_format_args = "warn"
unnecessary_self_imports = "warn"
unnecessary_wraps = "warn"
unused_async = "warn"
unused_self = "allow"
wrong_self_convention = "warn"

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
elided_lifetimes_in_paths = "deny"
explicit_outlives_requirements = "warn"
missing_debug_implementations = "warn"
missing_docs = "warn"
noop_method_call = "warn"
redundant_lifetimes = "warn"
trivial_casts = "warn"
trivial_numeric_casts = "warn"
unnameable_types = "warn"
unused_extern_crates = "warn"
unused_lifetimes = "warn"
unused_qualifications = "warn"

[package]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
description = "Backend for the Naga shader translator which generates Rust code."
edition = "2024"
license = "MIT OR Apache-2.0"
name = "naga-rust-back"
readme = "README.md"
repository = "https://github.com/kpreid/naga-rust/"
rust-version = "1.85.0"
version = "0.1.0"

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