28 lines
940 B
TOML
28 lines
940 B
TOML
[package]
|
|
name = "effectcraft-script"
|
|
description = "EffectCraft scripting: JavaScript (boa) with an After Effects-style object model (app, project, CompItem, Layer, Property…) over the engine's undoable commands"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
rust-version.workspace = true
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
effectcraft-engine = { workspace = true }
|
|
effectcraft-project = { workspace = true }
|
|
effectcraft-keyframe = { workspace = true }
|
|
effectcraft-time = { workspace = true }
|
|
effectcraft-render = { workspace = true }
|
|
effectcraft-path = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
boa_engine = { workspace = true }
|
|
|
|
# On the web, boa's clock and Math.random need the browser (getrandom `wasm_js`, web-time).
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
|
boa_engine = { workspace = true, features = ["js"] }
|
|
|
|
[dev-dependencies]
|
|
effectcraft-expr = { workspace = true }
|