[package]
name = "nightshade-editor"
version.workspace = true
authors.workspace = true
description = "An interactive editor for the Nightshade game engine"
readme = "README.md"
homepage.workspace = true
repository.workspace = true
keywords = ["gamedev", "engine", "editor", "ecs", "wgpu"]
license.workspace = true
edition.workspace = true
rust-version.workspace = true
exclude = ["screenshot.png"]

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

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

[dependencies]
nightshade = { workspace = true, features = ["egui", "mosaic", "editor", "physics", "tracing", "scripting", "navmesh", "fbx", "mcp", "file_dialog", "claude"] }
indexmap = "2.0"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"

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

[target.'cfg(windows)'.build-dependencies]
nightshade = { workspace = true, features = ["windows-app-icon"] }
