mirror of
https://github.com/shinyobjectz/raea.git
synced 2026-12-01 21:03:47 -10:00
This repository was an export of a private one; from this commit on it is where raea is developed. Contributions: CONTRIBUTING.md.
39 lines
1.9 KiB
TOML
39 lines
1.9 KiB
TOML
[package]
|
|
name = "raea-rune-host"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
license = "FSL-1.1-ALv2"
|
|
publish = false
|
|
description = "The native target's host (docs/targets.feature): raea's op wire drawn by Rune, in a native window, headless for the check, or as a Mac app"
|
|
|
|
[dependencies]
|
|
rune.workspace = true
|
|
raea-core-wire = { path = "../../core/wire" }
|
|
# the app's JS against its page (js/: the engine, the host calls)
|
|
raea-rune-js = { path = "js" }
|
|
# the check's scripted system calls (script.rs), headless (T2d)
|
|
raea-io-os = { path = "../../io/os" }
|
|
raea-rune-page = { path = "page" }
|
|
raea-rune-media = { path = "media" }
|
|
raea-rune-look = { path = "look" }
|
|
# the app drawn by Bevy (docs/targets.feature T6c): a Bevy window with the tree as a layer on its device (on_bevy/window.rs),
|
|
# and the check's frames drawn through it (on_bevy/shot.rs). Off by default until T6c passes
|
|
raea-rune-bevy = { path = "bevy", optional = true }
|
|
bevy = { version = "=0.20.0", default-features = false, features = ["std", "async_executor", "bevy_log", "bevy_window", "bevy_winit", "bevy_asset", "bevy_image", "bevy_render", "bevy_core_pipeline", "ui_bevy_render"], optional = true }
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
png = "0.18"
|
|
|
|
[features]
|
|
# Rune over Bevy (T6c): `run app.js --draw bevy` and `--headless app.js --draw bevy`
|
|
bevy = ["dep:raea-rune-bevy", "dep:bevy"]
|
|
# QuickJS beside JavaScriptCore on a Mac (BEVY_TSX_ENGINE=quickjs picks it): the portable engine tested here
|
|
portable = ["raea-rune-js/portable"]
|
|
|
|
[dev-dependencies]
|
|
# the tests bundle their apps as raea does (runtime/bundle/lib app.rs), with nothing of Bevy in their tree
|
|
raea-runtime-bundle-lib = { path = "../../runtime/bundle/lib" }
|
|
# T2b and T2d: the recorded net and system calls (tests/net.rs)
|
|
raea-io-net-calls = { path = "../../io/net/calls", features = ["serve"] }
|
|
raea-io-os = { path = "../../io/os", features = ["recorded"] }
|