rouge-render 0.4.0

wgpu renderer, effects and shared GPU surfaces for Rouge
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.100"
name = "rouge-render"
version = "0.4.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "wgpu renderer, effects and shared GPU surfaces for Rouge"
readme = "README.md"
keywords = [
    "wgpu",
    "renderer",
    "gpu",
    "graphics",
    "gui",
]
categories = [
    "rendering::engine",
    "graphics",
]
license = "MIT"
repository = "https://github.com/jcarver989/rouge"

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

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

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

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

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

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

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

[[test]]
name = "interop_io_surface_test"
path = "tests/interop/io_surface_test.rs"

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

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

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

[dependencies.image]
version = "0.25"
features = [
    "png",
    "jpeg",
]
default-features = false

[dependencies.rouge-theme]
version = "0.4.0"

[dependencies.rustc-hash]
version = "2"

[dependencies.slotmap]
version = "1"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = ["sync"]

[dependencies.wgpu]
version = "30"

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

[target.'cfg(target_arch = "wasm32")'.dependencies.web-time]
version = "1"

[target.'cfg(target_os = "macos")'.dependencies.objc2]
version = "0.6.3"

[target.'cfg(target_os = "macos")'.dependencies.objc2-core-foundation]
version = "0.3.2"
features = [
    "std",
    "CFBase",
    "CFDictionary",
    "CFNumber",
    "CFString",
]
default-features = false

[target.'cfg(target_os = "macos")'.dependencies.objc2-io-surface]
version = "0.3.2"
features = [
    "std",
    "IOSurfaceRef",
    "IOSurfaceTypes",
    "libc",
    "objc2",
    "objc2-core-foundation",
]
default-features = false

[target.'cfg(target_os = "macos")'.dependencies.objc2-metal]
version = "0.3.2"
features = [
    "std",
    "MTLAllocation",
    "MTLDevice",
    "MTLPixelFormat",
    "MTLResource",
    "MTLTexture",
    "MTLTypes",
    "objc2-io-surface",
]
default-features = false

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

[lints.clippy]
cast_possible_truncation = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
float_cmp = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
must_use_candidate = "allow"
needless_pass_by_value = "allow"
return_self_not_must_use = "allow"
too_many_lines = "allow"
unnecessary_wraps = "allow"
unreadable_literal = "allow"

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

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

[lints.rust]
unreachable_pub = "warn"
unsafe_code = "deny"