# 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.95.0"
name = "dear-imgui-bevy"
version = "0.15.0"
authors = ["Mingzhen Zhuang <superfrankie621@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Experimental Bevy-native backend for dear-imgui-rs on Bevy 0.19.0-rc.2"
homepage = "https://github.com/Latias94/dear-imgui-rs"
documentation = "https://docs.rs/dear-imgui-bevy"
readme = "README.md"
keywords = [
    "imgui",
    "ui",
    "graphics",
    "docking",
    "multiview",
]
categories = [
    "gui",
    "api-bindings",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/Latias94/dear-imgui-rs"
resolver = "2"

[features]
default = []
multi-viewport = [
    "dear-imgui-rs/multi-viewport",
    "dep:bevy_winit",
]
render = [
    "dep:bevy_asset",
    "dep:bevy_camera",
    "dep:bevy_color",
    "dep:bevy_core_pipeline",
    "dep:bevy_image",
    "dep:bevy_mesh",
    "dep:bevy_reflect",
    "dep:bevy_render",
    "dep:bevy_shader",
    "dep:bevy_transform",
    "dep:bytemuck",
]

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

[[example]]
name = "app_integration"
path = "examples/app/app_integration.rs"
required-features = ["render"]

[[example]]
name = "bevy_plot_controls"
path = "examples/ecosystem/bevy_plot_controls.rs"
required-features = ["render"]

[[example]]
name = "ecosystem"
path = "examples/ecosystem/ecosystem.rs"
required-features = ["render"]

[[example]]
name = "game_engine"
path = "examples/game_engine/game_engine.rs"
required-features = ["render"]

[[example]]
name = "simple"
path = "examples/basic/simple.rs"
required-features = ["render"]

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

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

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

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

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

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

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

[dependencies.bevy_app]
version = "=0.19.0-rc.2"
features = ["std"]
default-features = false

[dependencies.bevy_asset]
version = "=0.19.0-rc.2"
optional = true
default-features = false

[dependencies.bevy_camera]
version = "=0.19.0-rc.2"
optional = true
default-features = false

[dependencies.bevy_color]
version = "=0.19.0-rc.2"
optional = true
default-features = false

[dependencies.bevy_core_pipeline]
version = "=0.19.0-rc.2"
optional = true
default-features = false

[dependencies.bevy_derive]
version = "=0.19.0-rc.2"

[dependencies.bevy_ecs]
version = "=0.19.0-rc.2"
features = ["std"]
default-features = false

[dependencies.bevy_ecs_macro_logic]
version = "=0.19.0-rc.2"

[dependencies.bevy_ecs_macros]
version = "=0.19.0-rc.2"

[dependencies.bevy_image]
version = "=0.19.0-rc.2"
optional = true
default-features = false

[dependencies.bevy_input]
version = "=0.19.0-rc.2"
features = [
    "std",
    "keyboard",
    "mouse",
    "touch",
]
default-features = false

[dependencies.bevy_macro_utils]
version = "=0.19.0-rc.2"

[dependencies.bevy_math]
version = "=0.19.0-rc.2"
features = ["std"]
default-features = false

[dependencies.bevy_mesh]
version = "=0.19.0-rc.2"
optional = true
default-features = false

[dependencies.bevy_platform]
version = "=0.19.0-rc.2"
default-features = false

[dependencies.bevy_ptr]
version = "=0.19.0-rc.2"

[dependencies.bevy_reflect]
version = "=0.19.0-rc.2"
optional = true
default-features = false

[dependencies.bevy_render]
version = "=0.19.0-rc.2"
optional = true
default-features = false

[dependencies.bevy_shader]
version = "=0.19.0-rc.2"
optional = true
default-features = false

[dependencies.bevy_tasks]
version = "=0.19.0-rc.2"
default-features = false

[dependencies.bevy_time]
version = "=0.19.0-rc.2"
features = ["std"]
default-features = false

[dependencies.bevy_transform]
version = "=0.19.0-rc.2"
optional = true
default-features = false

[dependencies.bevy_utils]
version = "=0.19.0-rc.2"
default-features = false

[dependencies.bevy_window]
version = "=0.19.0-rc.2"
features = ["std"]
default-features = false

[dependencies.bevy_winit]
version = "=0.19.0-rc.2"
features = ["x11"]
optional = true
default-features = false

[dependencies.bytemuck]
version = "1.25"
features = ["derive"]
optional = true

[dependencies.dear-imgui-rs]
version = "0.15"

[dev-dependencies.bevy]
version = "=0.19.0-rc.2"
features = [
    "2d",
    "default_platform",
]
default-features = false

[dev-dependencies.dear-imguizmo]
version = "0.15"

[dev-dependencies.dear-imnodes]
version = "0.15"

[dev-dependencies.dear-implot]
version = "0.15"
