mirror of
https://github.com/shinyobjectz/raea.git
synced 2026-12-01 12:44:11 -10:00
raea-cli's macOS dependency table turns on raea-bevy-plugins/catalog and raea-runtime-react's bevy-plugins, so the default build has every catalog plugin compiled in and adds each only when a project chooses it. tools/nobuild.sh catalog on it: avian's ball falls and hanabi's fountain rises in a render and in play, package.json chose both, and blur, a 2D card, fog, steady and the path tracer draw the same pixels as raea without the catalog (max 0 levels). Windows and Linux stay as they were until their builders build it and pass the check. The check's pixel counter read ImageMagick's colour fields one place off.
105 lines
6.1 KiB
TOML
105 lines
6.1 KiB
TOML
[package]
|
|
name = "raea-cli"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
description = "raea, the engine's command line: render, play, guide, song, add ... (src/lib.rs), and raea-bevy-sdk, the plugin build. The agent shell's half of the same command is this folder's @raea/cli (src/index.ts)"
|
|
license = "FSL-1.1-ALv2"
|
|
|
|
# one `raea` (docs/sdk.feature S1e): this binary, and @raea/cli in the agent's shell. raea-runtime-react's features are its own;
|
|
# a build with Bevy plugins names them through this crate's bevy-plugins feature (tools/bevy-plugins.sh)
|
|
[[bin]]
|
|
name = "raea"
|
|
path = "src/main.rs"
|
|
|
|
# the plugin build (tools/bevy-plugins.sh build DIR, which names every declared plugin's feature): a build without them
|
|
# (a plain or --workspace `cargo build --release`) leaves it out rather than writing a plugin-free raea-bevy-sdk over
|
|
# the plugin build in target/release, which the bench harnesses run (bench/bevy-ts live-plugin lost avian so, 10-22)
|
|
[[bin]]
|
|
name = "raea-bevy-sdk"
|
|
path = "src/bin/raea-bevy-sdk.rs"
|
|
required-features = ["bevy-plugins"]
|
|
|
|
[dependencies]
|
|
dunce = "1"
|
|
raea-runtime-plugins = { path = "../../runtime/plugins" }
|
|
raea-io-home = { path = "../../io/home" }
|
|
# the schemas of what an agent writes (brief.ts, script.ts, taste.ts, plan.ts): raea context reads specs against them
|
|
raea-core-brief = { path = "../../core/brief" }
|
|
# `raea workspace` and `raea project` (docs/projects.feature PJ1-PJ4)
|
|
raea-app-workspace = { path = "../../apps/workspace" }
|
|
# raea-runtime-react's defaults
|
|
raea-runtime-react = { path = "../../runtime/react", default-features = false, features = ["h264", "av1", "scripts", "modules", "network", "ml"] }
|
|
# `raea wear bake`: raea/wear's bake from a shell (docs/wear.feature WR4)
|
|
raea-runtime-wear = { path = "../../runtime/wear" }
|
|
# the sound of its renders and plays: <Seedling> samples and speech (raea-runtime-sound's features)
|
|
raea-runtime-sound = { path = "../../runtime/sound", features = ["seedling", "ml"] }
|
|
raea-runtime-export = { path = "../../runtime/export" }
|
|
# a bake finds the bundle's functions (raea-modules), so an edit re-bakes only the frames it changed
|
|
raea-runtime-bake = { path = "../../runtime/bake", features = ["modules"] }
|
|
raea-runtime-live = { path = "../../runtime/live" }
|
|
raea-core-alloc = { path = "../../core/alloc" }
|
|
raea-render = { path = "../../engine/render", default-features = false }
|
|
raea-native = { path = "../../engine/native", default-features = false, features = ["modules"] }
|
|
raea-io-trace = { path = "../../io/trace" }
|
|
raea-io-media = { path = "../../io/media", default-features = false, features = ["apple"] }
|
|
# npm packages for a project (`raea add|remove|install`): raea's own package manager
|
|
raea-io-npm = { path = "../../io/npm" }
|
|
# the agent's sandbox (WASI tools on Wasmtime/Pulley) as wsx.* native calls
|
|
wsx = { path = "../../engine/sandbox/wsx" }
|
|
serde = "1"
|
|
serde_json = "1"
|
|
# `raea neural` (docs/raytracing.feature RT2)
|
|
raea-neural = { path = "../neural" }
|
|
# `raea light check` (docs/realism.feature LT1)
|
|
raea-light = { path = "../light" }
|
|
regex = "1"
|
|
# the app crates' verbs: `raea check`, `raea ci`, and the local tools' (sao, tokensynth, setup-audio, sounds, splat)
|
|
raea-app-check = { path = "../../apps/check" }
|
|
raea-app-direction = { path = "../../apps/direction" }
|
|
# `raea notes`: a person's notes as files the work is held to (docs/direction.feature DR5)
|
|
raea-app-notes = { path = "../../apps/notes" }
|
|
# `raea fingerprint`: axes with small heads over on-device encoders, and the service that keeps them loaded (docs/fingerprint.feature FP3a)
|
|
raea-app-fingerprint = { path = "../../apps/fingerprint" }
|
|
# `raea index`: every picture on a folder or a drive searchable by words, embedded on the Neural Engine (docs/index.feature IX13)
|
|
raea-sys-index = { path = "../../systems/index" }
|
|
raea-app-sound = { path = "../../apps/sound" }
|
|
raea-app-ci = { path = "../../apps/ci" }
|
|
raea-app-tools = { path = "../../apps/tools" }
|
|
raea-app-engines = { path = "../../apps/engines" }
|
|
# raea solid info|view: a solid file measured and pictured
|
|
raea-app-solid = { path = "../../apps/solid" }
|
|
# raea judge: review sheets judged by clef-omni
|
|
raea-app-judge = { path = "../../apps/judge" }
|
|
# raea scene lint|explain|light|stage (docs/stage-guards.feature)
|
|
raea-app-scene = { path = "../../apps/scene" }
|
|
raea-app-ask = { path = "../../apps/ask" }
|
|
raea-app-media = { path = "../../apps/media" }
|
|
# `raea app run|check|bundle` and `raea rune` on either target (docs/targets.feature T0b)
|
|
raea-app-targets = { path = "../../apps/targets" }
|
|
raea-app-game = { path = "../../apps/game" }
|
|
raea-app-capcut = { path = "../../apps/capcut" }
|
|
raea-app-layers = { path = "../../apps/layers" }
|
|
raea-app-play = { path = "../../apps/play", features = ["ml"] }
|
|
raea-bevy-plugins = { path = "../../engine/bevy-plugins", optional = true }
|
|
# raea-bevy-sdk's reflection of the plugin build's App: the type registry, a one-camera program, the animation type
|
|
bevy = { version = "=0.20.0", default-features = false }
|
|
raea-core-program = { path = "../../core/program" }
|
|
raea-core-animate = { path = "../../core/animate" }
|
|
|
|
# the plugin catalog in the macOS build (docs/nobuild.feature NB4a): every plugin compiled in, added to an App only when
|
|
# its project chooses it. Windows and Linux follow once their builders have built and checked it (tools/nobuild.sh catalog)
|
|
[target.'cfg(target_os = "macos")'.dependencies]
|
|
raea-bevy-plugins = { path = "../../engine/bevy-plugins", features = ["catalog"] }
|
|
raea-runtime-react = { path = "../../runtime/react", default-features = false, features = ["bevy-plugins"] }
|
|
|
|
[features]
|
|
# Bevy plugins compiled in (raea-bevy-plugins), as tools/bevy-plugins.sh names them: bevy-plugins,raea-bevy-plugins/avian,...
|
|
bevy-plugins = ["dep:raea-bevy-plugins", "raea-runtime-react/bevy-plugins"]
|
|
# every plugin engine/bevy-plugins declares but those it leaves out of its catalog, each added to an App only when its
|
|
# project chooses it (raea_runtime_plugins::choose, docs/nobuild.feature NB4a)
|
|
catalog = ["bevy-plugins", "raea-bevy-plugins/catalog"]
|
|
|
|
[package.metadata.cargo-shear]
|
|
# depended on only to turn their features on (raea-runtime-bake's modules, raea-runtime-sound's seedling and ml)
|
|
ignored = ["raea-runtime-bake", "raea-runtime-sound"]
|