# 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.2.1" authors = ["Oliver Berzs "] exclude = ["examples/screenshots/*", ".github/*", "shaders/glsl/*"] description = "A Rust crate for creating graphic experiences" 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"] [[example]] name = "rotating_cube" path = "examples/3d-examples/rotating_cube.rs" required-features = ["window"] [[example]] name = "raymarch" path = "examples/3d-examples/raymarch.rs" required-features = ["window", "glsl"] [[example]] name = "ship_model" path = "examples/3d-examples/ship_model.rs" required-features = ["window", "gltf"] [[example]] name = "run_animation" path = "examples/2d-examples/run_animation.rs" required-features = ["window", "png"] [[example]] name = "gradient" path = "examples/2d-examples/gradient.rs" required-features = ["window"] [[example]] name = "textbox" path = "examples/2d-examples/textbox.rs" required-features = ["window", "otf"] [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.otf_dep] version = "0.2.6" optional = true package = "ab_glyph" [dependencies.png_dep] version = "0.16.7" optional = true package = "png" [dependencies.window_dep] version = "0.23.0" optional = true package = "winit" [features] default = ["window"] glsl = ["glsl_dep"] gltf = ["gltf_dep", "png", "jpeg"] jpeg = ["jpeg_dep"] log = [] otf = ["otf_dep"] png = ["png_dep"] window = ["window_dep"]