# 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.90"
name = "nightshade-editor"
version = "0.7.0"
authors = ["Matthew Berger <matthewjordanberger@gmail.com>"]
build = "build.rs"
exclude = ["screenshot.png"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "An interactive editor for the Nightshade game engine"
homepage = "https://github.com/matthewjberger/nightshade"
readme = "README.md"
keywords = [
    "gamedev",
    "engine",
    "editor",
    "ecs",
    "wgpu",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/matthewjberger/nightshade"
resolver = "2"

[features]
default = ["dev_tools"]
dev_tools = []

[[bin]]
name = "nightshade-editor"
path = "src/main.rs"

[dependencies.indexmap]
version = "2.0"

[dependencies.nightshade]
version = "0.7.0"
features = [
    "egui",
    "mosaic",
    "editor",
    "physics",
    "tracing",
    "scripting",
    "navmesh",
    "fbx",
    "mcp",
    "file_dialog",
    "claude",
]

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.wry]
version = "0.54"

[target."cfg(windows)".build-dependencies.nightshade]
version = "0.7.0"
features = ["windows-app-icon"]
