# 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"
name = "gizmo-engine"
version = "0.1.4"
authors = ["Bedir"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A custom ECS and physics engine aimed for realistic simulations."
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://git.bedirkaraabali.com/bdrtr/Yelbegen-engine"

[features]
audio = [
    "dep:gizmo-audio",
    "gizmo-app/audio",
]
default = [
    "window",
    "render",
    "audio",
    "physics",
    "physics-dynamics",
    "physics-soft",
    "scene",
    "editor",
    "ui",
]
editor = [
    "dep:gizmo-editor",
    "dep:egui",
    "gizmo-app/editor",
    "render",
]
headless = [
    "physics",
    "gizmo-app/headless",
]
physics = [
    "gizmo-app/physics",
    "dep:gizmo-physics-core",
    "dep:gizmo-physics-rigid",
]
physics-dynamics = ["dep:gizmo-physics-dynamics"]
physics-soft = ["dep:gizmo-physics-soft"]
render = [
    "gizmo-app/render",
    "dep:gizmo-renderer",
    "dep:wgpu",
    "dep:bytemuck",
    "window",
]
scene = [
    "dep:gizmo-scene",
    "gizmo-app/scene",
]
scripting = ["dep:gizmo-scripting"]
ui = ["dep:gizmo-ui"]
window = [
    "gizmo-app/window",
    "dep:winit",
    "dep:gizmo-window",
]

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

[[test]]
name = "car_demo_integration"
path = "tests/car_demo_integration.rs"

[dependencies.bytemuck]
version = "1"
optional = true

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

[dependencies.gizmo-ai]
version = "0.1.4"

[dependencies.gizmo-app]
version = "0.1.4"
default-features = false

[dependencies.gizmo-audio]
version = "0.1.4"
optional = true

[dependencies.gizmo-core]
version = "0.1.4"

[dependencies.gizmo-editor]
version = "0.1.4"
optional = true

[dependencies.gizmo-math]
version = "0.1.4"

[dependencies.gizmo-physics-core]
version = "0.1.4"
optional = true

[dependencies.gizmo-physics-dynamics]
version = "0.1.4"
optional = true

[dependencies.gizmo-physics-rigid]
version = "0.1.4"
optional = true

[dependencies.gizmo-physics-soft]
version = "0.1.4"
optional = true

[dependencies.gizmo-renderer]
version = "0.1.4"
optional = true

[dependencies.gizmo-scene]
version = "0.1.4"
optional = true

[dependencies.gizmo-scripting]
version = "0.1.4"
optional = true

[dependencies.gizmo-ui]
version = "0.1.4"
optional = true

[dependencies.gizmo-window]
version = "0.1.4"
optional = true

[dependencies.tracing]
version = "0.1.44"

[dependencies.wgpu]
version = "0.20"
optional = true

[dependencies.winit]
version = "0.29"
optional = true

[dev-dependencies.criterion]
version = "0.5"

[dev-dependencies.rayon]
version = "1.11.0"
