# 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 = "shady"
version = "7.0.0"
authors = ["TornaxO7 <tornax@pm.me>"]
build = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A shadertoy-like library to be able to easily integrate shadertoy-like stuff in your applications."
readme = "README.md"
license = "GPL-3.0-or-later"
repository = "https://github.com/TornaxO7/shady/tree/main/shady-lib"

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

[[example]]
name = "mini-simple"
path = "examples/mini-simple.rs"

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

[dependencies.shady-audio]
version = "6.0"
optional = true

[dependencies.thiserror]
version = "2"

[dependencies.tracing]
version = "0.1"

[dependencies.wgpu]
version = "24.0"
features = [
    "naga-ir",
    "wgsl",
    "glsl",
]
default-features = false

[dev-dependencies.pollster]
version = "0.4"

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

[features]
audio = ["dep:shady-audio"]
default = [
    "time",
    "resolution",
    "audio",
    "mouse",
    "frame",
]
frame = []
mouse = []
resolution = []
time = []