# 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 believe there's an error in this file please file an
# issue against the rust-lang/cargo repository. If you're
# editing this file be aware that the upstream Cargo.toml
# will likely look very different (and much more reasonable)

[package]
edition = "2018"
name = "duku"
version = "0.1.0"
authors = ["Oliver Berzs <oliver.berzs@gmail.com>"]
exclude = ["examples/*", ".github/*", "shaders/glsl/*"]
description = "Easy to use rendering library for Rust"
homepage = "https://github.com/oberzs/duku"
documentation = "https://docs.rs/duku"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/oberzs/duku"

[[bin]]
name = "dc"
path = "src/dc.rs"
required-features = ["glsl"]
[dependencies.glsl_dep]
version = "0.7.0"
optional = true
package = "shaderc"

[dependencies.gltf_dep]
version = "0.15.2"
features = ["utils"]
optional = true
default-features = false
package = "gltf"

[dependencies.jpeg_dep]
version = "0.1.20"
optional = true
default-features = false
package = "jpeg-decoder"

[dependencies.png_dep]
version = "0.16.7"
optional = true
package = "png"

[dependencies.window_dep]
version = "0.23.0"
optional = true
package = "winit"

[features]
default = []
glsl = ["glsl_dep"]
gltf = ["gltf_dep", "png", "jpeg"]
jpeg = ["jpeg_dep"]
log = []
png = ["png_dep"]
window = ["window_dep"]
