37 lines
1 KiB
TOML
37 lines
1 KiB
TOML
# Standalone Cargo.toml — targets wasm32-wasip2.
|
|
#
|
|
# Build:
|
|
# cargo build --release --target wasm32-wasip2
|
|
#
|
|
# Output: target/wasm32-wasip2/release/studio_theme_solarized.wasm
|
|
|
|
[package]
|
|
name = "studio_theme_solarized"
|
|
version = "0.1.0"
|
|
# Track the SDK's edition — wit-bindgen 0.36 codegen does not
|
|
# yet support edition 2024.
|
|
edition = "2021"
|
|
authors = ["Dr. Stefan Flemming <chain@flemming.ai>"]
|
|
license = "Apache-2.0"
|
|
publish = false
|
|
description = "F∆I Studio plugin — Solarized Light and Dark theme"
|
|
repository = "https://git.flemming.ai/fai-plugins/studio-theme-solarized"
|
|
rust-version = "1.85"
|
|
|
|
[lib]
|
|
crate-type = ["cdylib"]
|
|
|
|
[dependencies]
|
|
# The SDK lives in fai/fai_plugin_sdk_rust during bootstrap;
|
|
# in production this will be a git dependency pointing at
|
|
# https://git.flemming.ai/fai/plugin-sdk-rust.
|
|
chain-plugin-sdk = { path = "../../fai_chain_plugin_sdk_rust" }
|
|
|
|
[package.metadata.component]
|
|
package = "fai:studio-plugin"
|
|
|
|
[profile.release]
|
|
opt-level = "s"
|
|
lto = true
|
|
codegen-units = 1
|
|
strip = true
|