[package]
edition = "2024"
rust-version = "1.87"
name = "noesis_wgpu"
version = "0.2.1"
authors = ["Brandon Reinhart <brandon@deadmoney.gg>"]
build = "build.rs"
exclude = [
".config/",
".github/",
".claude/",
"scripts/",
"CLAUDE.md",
"RELEASING.md",
"release.toml",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A wgpu render device for the Noesis GUI Native SDK: draws Noesis's batches on a wgpu device and queue you provide."
documentation = "https://docs.rs/noesis_wgpu"
readme = "README.md"
keywords = [
"noesis",
"wgpu",
"xaml",
"gui",
"ui",
]
categories = [
"gui",
"game-development",
"graphics",
"rendering",
]
license = "MIT"
repository = "https://github.com/dead-money/noesis_wgpu"
[package.metadata.docs.rs]
all-features = true
[features]
default = ["shim"]
shim = ["noesis_runtime/shim"]
[lib]
name = "noesis_wgpu"
path = "src/lib.rs"
[[test]]
name = "wgpu_suite"
path = "tests/wgpu_suite/main.rs"
[dependencies.log]
version = "0.4"
[dependencies.noesis_runtime]
version = "0.13"
default-features = false
[dependencies.wgpu]
version = "30.0.1"
features = ["wgsl"]
default-features = false
[dev-dependencies.bytemuck]
version = "1.25"
[dev-dependencies.pollster]
version = "0.4"
[dev-dependencies.wgpu]
version = "30.0.1"
[lints.clippy]
as_underscore = "warn"
branches_sharing_code = "warn"
clone_on_ref_ptr = "warn"
cloned_instead_of_copied = "warn"
dbg_macro = "warn"
doc_markdown = "warn"
equatable_if_let = "warn"
explicit_into_iter_loop = "warn"
explicit_iter_loop = "warn"
if_not_else = "warn"
implicit_saturating_sub = "warn"
inconsistent_struct_constructor = "warn"
index_refutable_slice = "warn"
indexing_slicing = "allow"
inefficient_to_string = "warn"
invalid_upcast_comparisons = "warn"
large_types_passed_by_value = "warn"
manual_assert = "warn"
many_single_char_names = "allow"
mismatching_type_param_order = "warn"
mixed_read_write_in_expression = "warn"
mut_mut = "warn"
needless_continue = "warn"
option_option = "warn"
panic = "allow"
ptr_as_ptr = "warn"
range_minus_one = "warn"
range_plus_one = "warn"
redundant_else = "warn"
ref_option_ref = "warn"
string_slice = "warn"
todo = "warn"
too_many_arguments = "allow"
type_complexity = "allow"
unimplemented = "warn"
unnecessary_cast = "warn"
unneeded_field_pattern = "warn"
unnested_or_patterns = "warn"
wildcard_dependencies = "warn"
zero_sized_map_values = "warn"
[lints.rust]
unsafe_code = "forbid"