slank 0.1.2

A build.rs slang shader compiler
# 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"
name = "slank"
version = "0.1.2"
authors = ["Thribhu K <4tkbytes@pm.me>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A build.rs slang shader compiler"
readme = "README.md"
keywords = [
    "graphics",
    "shader",
    "slang",
    "wgpu",
    "vulkan",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/tirbofish/dropbear"

[features]
download-slang = [
    "dep:reqwest",
    "dep:zip",
    "dep:flate2",
    "dep:tar",
    "dep:serde",
]
use-wgpu = [
    "wgpu/default",
    "wgpu/spirv",
]

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

[dependencies.anyhow]
version = "1.0"
features = ["backtrace"]

[dependencies.tempfile]
version = "3.24"

[dependencies.wgpu]
version = "29"
optional = true

[build-dependencies.anyhow]
version = "1.0"
features = ["backtrace"]

[build-dependencies.dirs]
version = "6.0"

[build-dependencies.flate2]
version = "1.1"
optional = true

[build-dependencies.reqwest]
version = "0.13"
features = [
    "blocking",
    "json",
]
optional = true

[build-dependencies.serde]
version = "1.0"
features = ["derive"]
optional = true

[build-dependencies.tar]
version = "0.4"
optional = true

[build-dependencies.zip]
version = "7.2"
optional = true