dunge 0.3.13

Typesafe and portable 3d render library
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.96"
name = "dunge"
version = "0.3.13"
authors = ["nanoqsh"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Typesafe and portable 3d render library"
documentation = "https://docs.rs/dunge"
readme = "README.md"
keywords = [
    "graphics",
    "wgpu",
]
license = "MIT"
repository = "https://github.com/nanoqsh/dunge"

[package.metadata.docs.rs]
all-features = true
targets = [
    "x86_64-unknown-linux-gnu",
    "x86_64-pc-windows-msvc",
    "wasm32-unknown-unknown",
]

[features]
wgsl = ["dunge-shade/wgsl"]

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

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

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

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

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

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

[dependencies.bytemuck]
version = "1.25"

[dependencies.dunge-macro]
version = "=0.3.13"

[dependencies.dunge-shade]
version = "=0.3.13"

[dependencies.glam]
version = "0.33"
features = [
    "bytemuck",
    "std",
]
default-features = false

[dependencies.log]
version = "0.4"

[dependencies.wgpu]
version = "29.0"
features = ["naga-ir"]
default-features = false

[dev-dependencies.dunge-shade]
version = "=0.3.13"
features = ["wgsl"]

[dev-dependencies.env_logger]
version = "0.11"

[target.'cfg(all(target_family = "unix", not(target_os = "macos")))'.dependencies.wgpu]
version = "29.0"
features = ["vulkan"]
default-features = false

[target.'cfg(not(target_family = "wasm"))'.dependencies.parking]
version = "2.2"

[target.'cfg(target_family = "wasm")'.dependencies.wgpu]
version = "29.0"
features = ["webgpu"]
default-features = false

[target.'cfg(target_family = "windows")'.dependencies.wgpu]
version = "29.0"
features = ["vulkan"]
default-features = false

[target.'cfg(target_os = "macos")'.dependencies.wgpu]
version = "29.0"
features = ["metal"]
default-features = false

[lints.clippy]
assigning-clones = "warn"
cast-lossless = "warn"
doc-paragraphs-missing-punctuation = "warn"
explicit-iter-loop = "warn"
flat-map-option = "warn"
manual-assert = "warn"
match-wildcard-for-single-variants = "warn"
missing-assert-message = "warn"
semicolon-if-nothing-returned = "warn"
trivially-copy-pass-by-ref = "warn"
type-complexity = "allow"
unwrap-used = "warn"
use-self = "warn"

[lints.rust]
elided-lifetimes-in-paths = "warn"
unreachable-pub = "warn"