Files
dotCooCoo a9467c2b7e CI: the plug-in grant call-site audit runs in the checks shard
The audit that lists the shipped code allowed to make a plug-in grant
token or record a grant read the sources of every crate from a
vectorcraft-plugins integration test. That test needed
`reads-every-member` in the crate's metadata, so test selection picked
shard 5 for every Rust change.

The audit is now `cargo xtask grant-sites`, a step of `cargo xtask ci`
that runs in shard 6 on every event. It keeps the same list, the same
walk and the same filters, and leaves its own file out. vectorcraft-plugins
no longer sets `reads-every-member`, and the old test is removed.
2026-11-30 05:49:45 -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 = []