# 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"
rust-version = "1.89"
name = "scenix-loader"
version = "1.0.0"
authors = ["Aarambh Dev Hub"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "CPU-side asset loaders for glTF, OBJ, STL, image, KTX2, and HDR data."
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/AarambhDevHub/scenix"
resolver = "2"

[features]
default = ["std"]
http = [
    "dep:reqwest",
    "reqwest/rustls-tls",
]
serde = [
    "dep:serde",
    "scenix-camera/serde",
    "scenix-core/serde",
    "scenix-light/serde",
    "scenix-material/serde",
    "scenix-math/serde",
    "scenix-mesh/serde",
    "scenix-scene/serde",
    "scenix-texture/serde",
]
std = [
    "scenix-camera/std",
    "scenix-core/std",
    "scenix-light/std",
    "scenix-material/std",
    "scenix-math/std",
    "scenix-mesh/std",
    "scenix-scene/std",
    "scenix-texture/std",
]

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

[dependencies.gltf]
version = "1.4.1"
features = [
    "import",
    "names",
    "utils",
    "base64",
    "image",
    "urlencoding",
    "KHR_lights_punctual",
    "KHR_materials_unlit",
]
default-features = false

[dependencies.image]
version = "0.25.10"
features = [
    "png",
    "jpeg",
    "webp",
    "hdr",
    "exr",
]
default-features = false

[dependencies.ktx2]
version = "0.4.0"
default-features = false

[dependencies.reqwest]
version = "0.12"
optional = true
default-features = false

[dependencies.scenix-camera]
version = "1.0.0"
default-features = false

[dependencies.scenix-core]
version = "1.0.0"
default-features = false

[dependencies.scenix-light]
version = "1.0.0"
default-features = false

[dependencies.scenix-material]
version = "1.0.0"
default-features = false

[dependencies.scenix-math]
version = "1.0.0"
default-features = false

[dependencies.scenix-mesh]
version = "1.0.0"
default-features = false

[dependencies.scenix-scene]
version = "1.0.0"
default-features = false

[dependencies.scenix-texture]
version = "1.0.0"
default-features = false

[dependencies.serde]
version = "1"
features = [
    "alloc",
    "derive",
]
optional = true
default-features = false

[dependencies.stl_io]
version = "0.11.0"

[dependencies.tobj]
version = "4.0.3"
default-features = false

[dev-dependencies.serde_json]
version = "1"
