roxlap-gpu 0.13.0

GPU compute-shader renderer for the roxlap voxel engine (WGPU + WGSL DDA marcher). Sibling to roxlap-core's CPU opticast.
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 = "2021"
rust-version = "1.77"
name = "roxlap-gpu"
version = "0.13.0"
authors = ["Anton Gushcha <ncrashed@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "GPU compute-shader renderer for the roxlap voxel engine (WGPU + WGSL DDA marcher). Sibling to roxlap-core's CPU opticast."
documentation = "https://docs.rs/roxlap-gpu"
readme = "README.md"
keywords = [
    "voxlap",
    "voxel",
    "wgpu",
    "compute-shader",
    "renderer",
]
categories = [
    "game-development",
    "graphics",
    "rendering",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/NCrashed/roxlap"

[features]
hud = [
    "dep:egui-wgpu",
    "dep:egui",
]

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

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

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

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

[dependencies.bytemuck]
version = "1"
features = ["derive"]

[dependencies.egui]
version = "0.34"
optional = true

[dependencies.egui-wgpu]
version = "0.34"
optional = true

[dependencies.glam]
version = "0.30"
features = [
    "std",
    "serde",
]
default-features = false

[dependencies.raw-window-handle]
version = "0.6"

[dependencies.roxlap-formats]
version = "0.13"

[dependencies.wgpu]
version = "29"

[dev-dependencies.naga]
version = "29"
features = ["wgsl-in"]

[dev-dependencies.winit]
version = "0.30"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.pollster]
version = "0.3"

[target.'cfg(target_arch = "wasm32")'.dependencies.web-sys]
version = "0.3"
features = ["HtmlCanvasElement"]

[lints.clippy]
cast_lossless = "allow"
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
doc_markdown = "allow"
float_cmp = "allow"
items_after_statements = "allow"
manual_assert = "allow"
many_single_char_names = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
needless_for_each = "allow"
similar_names = "allow"
single_match_else = "allow"
too_many_arguments = "allow"
too_many_lines = "allow"
verbose_bit_mask = "allow"
wildcard_imports = "allow"

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

[lints.rust]
unsafe_op_in_unsafe_fn = "warn"