Files
Marcos Paulo ca0d68f9ab
ci / ci (macos-latest) (push) Has been cancelled
ci / ci (ubuntu-latest) (push) Has been cancelled
ci / ci (windows-latest) (push) Has been cancelled
feat: export.pandoc, properties.rename_all, first wasm plugin (dice) (MiniMax M3.1 Flash)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-21 06:39:51 -03:00

30 lines
783 B
TOML

# The dice plugin: the first first-party WebAssembly plugin of NotesCraft.
#
# It lives in its own workspace on purpose: `cargo build` in this folder
# produces a `wasm32-unknown-unknown` module and never touches the lock file
# or the profile of the app.
[workspace]
[package]
name = "notescraft-dice"
description = "Dice roller for NotesCraft: the first first-party WebAssembly plugin"
version = "0.1.0"
edition = "2024"
rust-version = "1.95"
license = "MIT OR Apache-2.0"
publish = false
[lib]
crate-type = ["cdylib"]
path = "src/lib.rs"
# A plugin is loaded by the host, so the module is small and never unwinds:
# a panic in the guest is an abort, which the host reports as a trap.
[profile.release]
opt-level = "s"
panic = "abort"
lto = true
codegen-units = 1
strip = true