nightshade-api 0.46.0

Procedural high level API for the nightshade game engine
Documentation
# 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.92"
name = "nightshade-api"
version = "0.46.0"
authors = ["Matthew Berger <matthewjordanberger@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Procedural high level API for the nightshade game engine"
homepage = "https://github.com/matthewjberger/nightshade"
readme = "README.md"
keywords = [
    "gamedev",
    "engine",
    "graphics",
    "3d",
    "wgpu",
]
categories = [
    "game-engines",
    "graphics",
    "rendering::engine",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/matthewjberger/nightshade"
resolver = "2"

[features]
audio = ["nightshade/audio"]
default = [
    "audio",
    "physics",
    "gamepad",
    "picking",
    "navmesh",
]
egui = ["nightshade/egui"]
gamepad = ["nightshade/gamepad"]
grass = ["nightshade/grass"]
navmesh = [
    "nightshade/navmesh",
    "nightshade/navmesh-bake",
]
net = [
    "dep:hearsay",
    "dep:tokio",
    "dep:serde_json",
]
physics = ["nightshade/physics"]
picking = ["nightshade/picking"]
protocol = [
    "audio",
    "physics",
    "navmesh",
    "scripting",
    "nightshade/engine",
    "nightshade/wgpu",
    "nightshade/gizmos",
]
protocol-agent = [
    "protocol",
    "dep:serde_json",
]
scripting = [
    "dep:rhai",
    "dep:serde_json",
    "physics",
]
terrain = [
    "grass",
    "nightshade/terrain",
]

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

[[example]]
name = "collector"
path = "examples/collector.rs"

[[example]]
name = "commands"
path = "examples/commands.rs"

[[example]]
name = "day_night"
path = "examples/day_night.rs"

[[example]]
name = "dump_manifest"
path = "examples/dump_manifest.rs"

[[example]]
name = "facade_coverage"
path = "examples/facade_coverage.rs"

[[example]]
name = "fps_walk"
path = "examples/fps_walk.rs"

[[example]]
name = "gallery"
path = "examples/gallery.rs"

[[example]]
name = "grand_tour"
path = "examples/grand_tour.rs"

[[example]]
name = "hud"
path = "examples/hud.rs"

[[example]]
name = "juice"
path = "examples/juice.rs"

[[example]]
name = "model_viewer"
path = "examples/model_viewer.rs"

[[example]]
name = "parity"
path = "examples/parity.rs"

[[example]]
name = "physics_playground"
path = "examples/physics_playground.rs"

[[example]]
name = "poster"
path = "examples/poster.rs"

[[example]]
name = "solar_system"
path = "examples/solar_system.rs"

[[example]]
name = "spinning_cube"
path = "examples/spinning_cube.rs"

[[example]]
name = "tower_defense"
path = "examples/tower_defense.rs"

[[example]]
name = "tower_defense_scripted"
path = "examples/tower_defense_scripted.rs"
required-features = ["scripting"]

[dependencies.bincode]
version = "1.3"

[dependencies.enum2schema]
version = "0.1.2"
features = ["nalgebra-glm"]

[dependencies.nightshade]
version = "0.46.0"

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

[dependencies.serde_json]
version = "1.0"
optional = true

[dev-dependencies.web-time]
version = "1"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.hearsay]
version = "0.1"
features = ["websockets"]
optional = true

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.rhai]
version = "1.23"
features = [
    "sync",
    "serde",
]
optional = true

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "net",
    "sync",
    "time",
    "macros",
]
optional = true

[target.'cfg(target_arch = "wasm32")'.dependencies.rhai]
version = "1.23"
features = [
    "sync",
    "wasm-bindgen",
    "serde",
]
optional = true