# 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.6.34"
authors = ["Matthew Berger <matthewjordanberger@gmail.com>"]
build = false
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"

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

[dependencies.egui_tiles]
version = "0.14"

[dependencies.enum2str]
version = "0.1.18"

[dependencies.nightshade]
version = "0.6.34"
features = [
    "tracing",
    "editor-plugin-host",
    "scripting",
]

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

[dependencies.serde_json]
version = "1.0"

[dependencies.strum]
version = "0.27"
features = ["derive"]

[dependencies.tracing]
version = "0.1"

[dependencies.winit]
version = "0.30.12"
features = ["serde"]

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.anyhow]
version = "1.0"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.bincode]
version = "1.3"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.dirs]
version = "5.0"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.egui-toast]
version = "0.19.1"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.rfd]
version = "0.15"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.syntect]
version = "5.3"
features = ["default-fancy"]
default-features = false

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.wasmtime]
version = "27.0"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.wasmtime-wasi]
version = "27.0"

[target.'cfg(target_arch = "wasm32")'.dependencies.js-sys]
version = "0.3"

[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen]
version = "0.2"

[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen-futures]
version = "0.4"

[target.'cfg(target_arch = "wasm32")'.dependencies.web-sys]
version = "0.3"
features = [
    "Blob",
    "BlobPropertyBag",
    "Document",
    "Element",
    "HtmlAnchorElement",
    "HtmlInputElement",
    "FileList",
    "File",
    "FileReader",
    "Url",
    "Window",
]
