Files
hakorune/plugins/nyash-filebox-plugin/Cargo.toml
Moe Charm e1b148051b feat: nyash.toml v2完全対応とinit関数オプション化
主な変更:
- nyash.toml v2形式(マルチBox型プラグイン)に完全対応
- plugin-testerをv2対応に全面更新
- Host VTable完全廃止でシンプル化
- init関数をオプション化(グローバル初期化用)
- FileBoxプラグインを新設計に移行(once_cell使用)

仕様更新:
- nyash_plugin_invoke(必須)とnyash_plugin_init(オプション)の2関数体制
- すべてのメタ情報はnyash.tomlから取得
- プラグインは自己完結でログ出力

テスト確認:
- plugin-testerでFileBoxの動作確認済み
- birth/finiライフサイクル正常動作

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-19 04:48:25 +09:00

20 lines
349 B
TOML

[package]
name = "nyash-filebox-plugin"
version = "0.1.0"
edition = "2021"
[lib]
crate-type = ["cdylib"] # 動的ライブラリとしてビルド
[dependencies]
# 最小限の依存関係のみ
once_cell = "1.20"
[features]
default = []
# プロファイル設定
[profile.release]
lto = true
strip = true
opt-level = "z" # サイズ最適化