# 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"
rust-version = "1.57"
name = "scene-viewer"
version = "0.3.0"
authors = ["The rend3 Developers"]
exclude = [
    "bistro.jpg",
    "emerald-square.jpg",
    "scifi-base.jpg",
    "screenshot.jpg",
    "resources/default-scene",
    "resources/rend3-default-scene.tar",
]
description = "A gltf scene viewer based on the rend3 3D rendering engine."
readme = "README.md"
keywords = [
    "3d",
    "graphics",
    "rend3",
    "renderer",
    "wgpu",
]
categories = [
    "game-development",
    "graphics",
    "rendering",
    "rendering::engine",
    "wasm",
]
license = "MIT OR Apache-2.0 OR Zlib"
repository = "https://github.com/BVE-Reborn/rend3"
resolver = "2"

[package.metadata.android]
build_targets = ["aarch64-linux-android"]
assets = "resources"

[package.metadata.android.sdk]
min_sdk_version = 28
target_sdk_version = 28
compile_sdk_version = 28

[package.metadata.android.application.activity]
orientation = "landscape"

[lib]
name = "rend3_scene_viewer_example"
crate-type = [
    "lib",
    "cdylib",
]

[dependencies.anyhow]
version = "1"

[dependencies.cfg-if]
version = "1"

[dependencies.glam]
version = "0.20.0"

[dependencies.histogram]
version = "0.6"

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

[dependencies.indoc]
version = "1"

[dependencies.instant]
version = "0.1"
features = ["wasm-bindgen"]

[dependencies.log]
version = "0.4"

[dependencies.pico-args]
version = "0.4"

[dependencies.pollster]
version = "0.2"

[dependencies.profiling]
version = "1"
default-features = false

[dependencies.rend3]
version = "^0.3.0"

[dependencies.rend3-framework]
version = "^0.3.0"

[dependencies.rend3-gltf]
version = "^0.3.0"
features = [
    "ddsfile",
    "ktx2",
]
default-features = false

[dependencies.rend3-routine]
version = "^0.3.0"

[dependencies.rustc-hash]
version = "1"

[dependencies.smallvec]
version = "1"

[dependencies.tracy-client]
version = "0.12"
optional = true

[dependencies.wgpu-profiler]
version = "0.8.0"

[dependencies.winit]
version = "0.26"

[features]
tracy = [
    "profiling/profile-with-tracy",
    "tracy-client",
]

[target."cfg(target_arch = \"wasm32\")".dependencies.wasm-bindgen-futures]
version = "0.4"

[target."cfg(target_os = \"android\")".dependencies.ndk-glue]
version = "0.5"
features = ["logger"]
