roxlap-render 0.9.0

Unified CPU/GPU renderer facade for the roxlap scene-graph engine — one SceneRenderer over roxlap-core opticast (softbuffer) and roxlap-gpu (wgpu), with automatic CPU fallback.
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-render"
version = "0.9.0"
authors = ["Anton Gushcha <ncrashed@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Unified CPU/GPU renderer facade for the roxlap scene-graph engine — one SceneRenderer over roxlap-core opticast (softbuffer) and roxlap-gpu (wgpu), with automatic CPU fallback."
documentation = "https://docs.rs/roxlap-render"
readme = "README.md"
keywords = [
    "voxlap",
    "voxel",
    "renderer",
    "wgpu",
    "fallback",
]
categories = [
    "game-development",
    "graphics",
    "rendering",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/NCrashed/roxlap"

[features]
hud = [
    "dep:egui",
    "roxlap-gpu/hud",
]

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

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

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

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

[dependencies.rayon]
version = "1.10"

[dependencies.roxlap-core]
version = "0.9"

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

[dependencies.roxlap-gpu]
version = "0.9"

[dependencies.roxlap-scene]
version = "0.9"

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

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.softbuffer]
version = "0.4"

[target.'cfg(target_arch = "wasm32")'.dependencies.bytemuck]
version = "1"

[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen]
version = "=0.2.117"

[target.'cfg(target_arch = "wasm32")'.dependencies.web-sys]
version = "0.3"
features = [
    "HtmlCanvasElement",
    "WebGl2RenderingContext",
    "WebGlBuffer",
    "WebGlProgram",
    "WebGlShader",
    "WebGlTexture",
    "WebGlUniformLocation",
    "WebGlVertexArrayObject",
    "console",
]

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