Files
vectorcraft/crates/plugins/Cargo.toml
dotCooCoo de8c87c194 Plugins: test-steady is on when the crate is tested in its own shard
The gate's test shard 4 builds vectorcraft-plugins without
vectorcraft-engine, which was the only crate that turned the
test-steady feature on, so `cargo xtask ci shard` stopped at its
feature check on every shard. vectorcraft-plugins now turns the
feature on in its own dev-dependencies, as vectorcraft-pdf and
vectorcraft-affinity do for their test features.
2026-11-27 16:51:29 -08:00

47 lines
1.8 KiB
TOML

[package]
name = "vectorcraft-plugins"
description = "Sandboxed plug-ins for VectorCraft: a resource-limited wasmi host for object filters and live effects, and JavaScript object filters"
version.workspace = true
edition.workspace = true
license.workspace = true
[lints]
workspace = true
[dependencies]
vectorcraft-geom = { workspace = true }
vectorcraft-color = { workspace = true }
vectorcraft-doc = { workspace = true }
log = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
# The pixels of a small image a filter asks to read, as RGBA in base64.
craft-image-codecs = { workspace = true }
craft-vectorcraft-format = { workspace = true }
# The SHA-256 of a module, which the install prompt shows and a grant records.
sha2 = { version = "0.10", default-features = false }
thiserror = { workspace = true }
# The interpreter of JavaScript plug-ins (`js.rs`).
vectorcraft-js = { workspace = true }
wasmi = { workspace = true }
wasmparser = { workspace = true }
# The monotonic clock of run deadlines and the first-view budget: `std::time::Instant` on the
# desktop, the page's `performance.now()` in the web build. It is MIT OR Apache-2.0 and already in
# the build through eframe.
web-time = "1"
# Opens a `.wasm` in the plug-ins folder without waiting when it is a named pipe (`registry.rs`).
# Already in Cargo.lock, so this adds no new crate.
[target.'cfg(unix)'.dependencies]
rustix = { workspace = true, features = ["std", "fs"] }
[dev-dependencies]
wat = { workspace = true }
# The `steady` gate vectorcraft-engine's tests turn on, also when this crate is tested without
# vectorcraft-engine (`cargo xtask ci shard`).
vectorcraft-plugins = { path = ".", features = ["test-steady"] }
[features]
# `vectorcraft_plugins::steady` for other crates' tests (dev-dependencies only).
test-steady = []