# 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"
name = "ash_renderer"
version = "0.2.9"
authors = ["Saptak Santra"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Production-quality Vulkan renderer in Rust using ASH - ECS-free, pure rendering engine"
documentation = "https://docs.rs/ash_renderer"
readme = "README.md"
keywords = [
    "vulkan",
    "graphics",
    "rendering",
    "gpu",
    "ash",
]
categories = [
    "graphics",
    "rendering",
    "game-development",
]
license = "Apache-2.0"
repository = "https://github.com/saptak7777/Ash-Renderer"

[features]
default = [
    "validation",
    "gltf_loading",
]
full = [
    "validation",
    "gltf_loading",
    "shader_compilation",
    "shader_reflection",
    "profiling",
    "parallel",
]
gltf_loading = [
    "gltf",
    "archetype_asset",
]
parallel = []
profiling = []
shader_compilation = ["shaderc"]
shader_reflection = ["spirv-reflect"]
validation = []

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

[[example]]
name = "01_triangle"
path = "examples/01_triangle.rs"

[[example]]
name = "02_cube"
path = "examples/02_cube.rs"

[[example]]
name = "03_model_loading"
path = "examples/03_model_loading.rs"
required-features = ["gltf_loading"]

[dependencies.archetype_asset]
version = "0.1"
optional = true

[dependencies.ash]
version = "0.38"

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

[dependencies.crossbeam-channel]
version = "0.5"

[dependencies.glam]
version = "0.30"
features = ["bytemuck"]

[dependencies.gltf]
version = "1.4"
optional = true

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

[dependencies.log]
version = "0.4"

[dependencies.parking_lot]
version = "0.12"

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

[dependencies.rayon]
version = "1.10"

[dependencies.shaderc]
version = "0.8"
optional = true

[dependencies.spirv-reflect]
version = "0.2"
optional = true

[dependencies.thiserror]
version = "2.0"

[dependencies.uuid]
version = "1.11"
features = ["v4"]

[dependencies.vk-mem]
version = "0.5"

[dependencies.winit]
version = "0.30"

[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]

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

[dev-dependencies.tempfile]
version = "3.14"

[build-dependencies.shaderc]
version = "0.8"

[build-dependencies.walkdir]
version = "2"

[profile.bench]
inherits = "release"

[profile.dev]
opt-level = 0

[profile.release]
opt-level = 3
lto = "thin"
codegen-units = 1
