arcane-engine 0.7.0

Core library for Arcane - agent-native 2D game engine (TypeScript runtime, renderer, platform layer)
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"
name = "arcane-engine"
version = "0.7.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core library for Arcane - agent-native 2D game engine (TypeScript runtime, renderer, platform layer)"
homepage = "https://github.com/anthropics/arcane"
documentation = "https://docs.rs/arcane-engine"
readme = "README.md"
keywords = [
    "game-engine",
    "2d",
    "gamedev",
    "typescript",
    "v8",
]
categories = [
    "game-engines",
    "graphics",
    "game-development",
]
license = "Apache-2.0"
repository = "https://github.com/anthropics/arcane"

[features]
default = ["renderer"]
renderer = [
    "dep:wgpu",
    "dep:winit",
    "dep:image",
    "dep:bytemuck",
    "dep:notify",
    "dep:notify-debouncer-mini",
    "dep:pollster",
    "dep:log",
    "dep:env_logger",
    "dep:tiny_http",
    "dep:rodio",
]

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

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

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

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

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

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

[dependencies.anyhow]
version = "1"

[dependencies.bytemuck]
version = "1"
features = ["derive"]
optional = true

[dependencies.deno_ast]
version = "=0.53.0"
features = ["transpiling"]

[dependencies.deno_core]
version = "=0.385.0"

[dependencies.deno_error]
version = "=0.7.3"

[dependencies.env_logger]
version = "0.11"
optional = true

[dependencies.image]
version = "0.25"
features = ["png"]
optional = true
default-features = false

[dependencies.log]
version = "0.4"
optional = true

[dependencies.notify]
version = "7"
optional = true

[dependencies.notify-debouncer-mini]
version = "0.5"
optional = true

[dependencies.pollster]
version = "0.4"
optional = true

[dependencies.rodio]
version = "0.20"
optional = true

[dependencies.tiny_http]
version = "0.12"
optional = true

[dependencies.tokio]
version = "1"
features = ["full"]

[dependencies.wgpu]
version = "24"
optional = true

[dependencies.winit]
version = "0.30"
optional = true

[dev-dependencies.tempfile]
version = "3"