# 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 = "bevy-yoleck"
version = "0.31.0"
authors = [
    "IdanArye <idanarye@gmail.com>",
    "dexsper <dexsperpro@gmail.com>",
]
build = false
exclude = ["assets"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Your Own Level Editor Creation Kit"
documentation = "https://docs.rs/bevy-yoleck"
readme = "README.md"
keywords = [
    "bevy",
    "gamedev",
    "level-editor",
]
categories = ["game-development"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/idanarye/bevy-yoleck"

[package.metadata.docs.rs]
all-features = true
features = [
    "bevy/x11",
    "bevy/bevy_gltf",
]

[features]
_doors_to_other_levels_full = [
    "vpeol_2d",
    "bevy/bevy_sprite_render",
]
_example2d_full = [
    "vpeol_2d",
    "bevy/bevy_gizmos",
    "bevy/bevy_sprite_render",
]
_example3d_full = [
    "vpeol_3d",
    "bevy/bevy_scene",
    "bevy/bevy_gltf",
    "bevy/bevy_animation",
    "bevy/ktx2",
    "bevy/zstd_rust",
    "bevy/tonemapping_luts",
    "bevy/bevy_gizmos",
    "bevy/reflect_auto_register",
    "bevy/bevy_sprite_render",
]
arboard = ["dep:arboard"]
arboard_wayland = [
    "arboard",
    "arboard/wayland-data-control",
]
bevy_reflect = []
vpeol = []
vpeol_2d = [
    "vpeol",
    "bevy/bevy_text",
    "bevy/bevy_sprite",
    "bevy/png",
]
vpeol_3d = [
    "vpeol",
    "bevy/bevy_pbr",
]

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

[[example]]
name = "custom_camera3d"
path = "examples/custom_camera3d.rs"
required-features = ["_example3d_full"]

[[example]]
name = "doors_to_other_levels"
path = "examples/doors_to_other_levels.rs"
required-features = ["_doors_to_other_levels_full"]

[[example]]
name = "example2d"
path = "examples/example2d.rs"
required-features = ["_example2d_full"]

[[example]]
name = "example3d"
path = "examples/example3d.rs"
required-features = ["_example3d_full"]

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

[dependencies.arboard]
version = "3.4"
optional = true

[dependencies.bevy]
version = "^0.18"
features = [
    "bevy_state",
    "bevy_window",
    "bevy_asset",
    "bevy_log",
    "bevy_camera",
]
default-features = false

[dependencies.bevy-yoleck-macros]
version = "0.10.0"

[dependencies.bevy_egui]
version = "^0.39"
features = [
    "default_fonts",
    "render",
]
default-features = false

[dependencies.serde]
version = "^1"

[dependencies.serde_json]
version = "^1"

[dependencies.thiserror]
version = "^2"

[dependencies.uuid]
version = "1.9.1"

[dev-dependencies.bevy]
version = "^0.18"
features = [
    "bevy_sprite",
    "x11",
    "bevy_window",
    "bevy_text",
    "bevy_render",
]
default-features = false
