# 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"
name = "blue_engine_utilities"
version = "0.9.3"
authors = ["Elham Aryanpur <elhamaryanpur5@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Utilities for Blue Engine"
readme = "README.md"
keywords = [
    "gamedev",
    "utility",
    "3D",
    "2D",
    "animation",
]
categories = [
    "game-development",
    "graphics",
    "rendering",
]
license = "Apache-2.0"
repository = "https://github.com/AryanpurTech/BlueEngineUtilities"

[features]
all = [
    "animation",
    "gltf",
    "obj",
    "physics",
    "egui",
]
animation = [
    "dep:keyframe_derive",
    "dep:keyframe",
]
default = []
egui = [
    "dep:egui",
    "dep:egui-winit",
    "dep:egui-wgpu",
]
gltf = ["dep:gltf"]
headless = ["blue_engine/headless"]
obj = ["dep:obj-rs"]
physics = ["dep:rapier3d"]

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

[[example]]
name = "animation"
path = "examples/animation.rs"

[[example]]
name = "basic_light"
path = "examples/basic_light.rs"

[[example]]
name = "fly_camera"
path = "examples/flycamera.rs"

[[example]]
name = "hello_egui"
path = "examples/hello_egui.rs"

[[example]]
name = "model"
path = "examples/model.rs"

[[example]]
name = "physics"
path = "examples/physics.rs"

[[example]]
name = "raycast"
path = "examples/raycast.rs"

[dependencies.blue_engine]
version = "0.9.3"

[dependencies.egui]
version = "0.31.1"
optional = true

[dependencies.egui-wgpu]
version = "0.31.1"
optional = true

[dependencies.egui-winit]
version = "0.31.1"
optional = true

[dependencies.eyre]
version = "0.6.12"

[dependencies.gltf]
version = "1.4.1"
optional = true

[dependencies.keyframe]
version = "1.1.1"
optional = true

[dependencies.keyframe_derive]
version = "1.0.0"
optional = true

[dependencies.nalgebra-glm]
version = "0.19.0"

[dependencies.obj-rs]
version = "0.7.4"
optional = true

[dependencies.rapier3d]
version = "0.23.1"
features = ["simd-stable"]
optional = true
