mirror of
https://github.com/storytold/figcraft.git
synced 2026-10-26 03:16:53 -06:00
* E21: require release font coverage and stabilize capture deadline tests * E21: separate capture, IME and field-save regression phases * M0: correct the migration qualification reference * M-egui037: document input lifecycle and UI regression contracts * M0: correct egui 0.37 status docs and stabilize join-code regression --------- Co-authored-by: Dylan M. Taylor <dylan@dylanmtaylor.com> Co-authored-by: Codebuff <noreply@codebuff.com>
35 lines
1.0 KiB
TOML
35 lines
1.0 KiB
TOML
# FigCraft plugins written in Rust: the SDK and example plugins. A workspace of its own (not part of
|
|
# the app's): it builds for wasm32-unknown-unknown with `cargo xtask plugins` (from the repository
|
|
# root), which puts each example's .wasm next to its figcraft-plugin.json under target/plugins/dist/.
|
|
# CARGO_TARGET_DIR selects the shared Cargo target root, including this plugin dist directory.
|
|
[workspace]
|
|
resolver = "3"
|
|
members = ["sdk", "examples/*"]
|
|
|
|
[workspace.package]
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
license = "MIT OR Apache-2.0"
|
|
rust-version = "1.95"
|
|
repository = "https://github.com/storytold/figcraft"
|
|
|
|
[workspace.dependencies]
|
|
figcraft-plugin-sdk = { path = "sdk" }
|
|
serde_json = { version = "1", default-features = false, features = ["alloc"] }
|
|
|
|
[workspace.lints.clippy]
|
|
unwrap_used = "deny"
|
|
expect_used = "deny"
|
|
panic = "deny"
|
|
todo = "deny"
|
|
unimplemented = "deny"
|
|
unreachable = "deny"
|
|
|
|
# Small modules: a plugin is loaded on every run.
|
|
[profile.release]
|
|
opt-level = "z"
|
|
lto = true
|
|
codegen-units = 1
|
|
panic = "abort"
|
|
strip = true
|