🚀 主要機能: • Everything is Box哲学による革新的アーキテクチャ • WebAssemblyブラウザー対応プレイグラウンド • アーティスト協同制作デモ - 複数Boxインスタンス実証 • 視覚的デバッグシステム - DebugBox完全統合 • static box Mainパターン - メモリ安全設計 ⚡ 言語機能: • NOT/AND/OR/除算演算子完全実装 • ジェネリクス/テンプレートシステム • 非同期処理(nowait/await) • try/catchエラーハンドリング • Canvas統合グラフィックス 🎨 ブラウザー体験: • 9種類のインタラクティブデモ • リアルタイムコード実行 • WebCanvas/WebConsole/WebDisplay • モバイル対応完了 🤖 Built with Claude Code collaboration Ready for public release!
88 lines
1.7 KiB
TOML
88 lines
1.7 KiB
TOML
[package]
|
||
name = "nyash-rust"
|
||
version = "0.1.0"
|
||
edition = "2021"
|
||
authors = ["Claude Code <claude@anthropic.com>"]
|
||
description = "Everything is Box in Rust - Ultimate Memory Safe Nyash Implementation"
|
||
license = "MIT"
|
||
repository = "https://github.com/user/nyash"
|
||
keywords = ["language", "interpreter", "box", "memory-safe", "rust"]
|
||
categories = ["development-tools::parsing", "interpreters"]
|
||
|
||
[lib]
|
||
name = "nyash_rust"
|
||
path = "src/lib.rs"
|
||
crate-type = ["cdylib", "rlib"]
|
||
|
||
[[bin]]
|
||
name = "nyash"
|
||
path = "src/main.rs"
|
||
|
||
[dependencies]
|
||
# エラーハンドリング
|
||
thiserror = "2.0"
|
||
anyhow = "1.0"
|
||
|
||
# シリアライゼーション(将来のAST永続化用)
|
||
serde = { version = "1.0", features = ["derive"] }
|
||
serde_json = "1.0"
|
||
|
||
# コマンドライン(将来の CLI用)
|
||
clap = { version = "4.0", features = ["derive"] }
|
||
|
||
# 並行処理(GlobalBox用)
|
||
lazy_static = "1.5"
|
||
once_cell = "1.20"
|
||
|
||
# デバッグ・ログ
|
||
log = "0.4"
|
||
env_logger = "0.11"
|
||
|
||
# 日時処理
|
||
chrono = "0.4"
|
||
|
||
# WebAssembly対応
|
||
wasm-bindgen = "0.2"
|
||
console_error_panic_hook = "0.1"
|
||
js-sys = "0.3"
|
||
|
||
[dependencies.web-sys]
|
||
version = "0.3"
|
||
features = [
|
||
"console",
|
||
"Document",
|
||
"Element",
|
||
"HtmlElement",
|
||
"Window",
|
||
"DomTokenList",
|
||
"CssStyleDeclaration",
|
||
"HtmlCanvasElement",
|
||
"CanvasRenderingContext2d",
|
||
"ImageData",
|
||
"TextMetrics",
|
||
"CanvasGradient",
|
||
"CanvasPattern",
|
||
"Path2d",
|
||
]
|
||
|
||
[dev-dependencies]
|
||
# テスト・ベンチマークツール
|
||
criterion = "0.5"
|
||
|
||
# Benchmark configuration (will be added later)
|
||
# [[bench]]
|
||
# name = "box_performance"
|
||
# harness = false
|
||
|
||
[profile.release]
|
||
# 最適化設定
|
||
opt-level = 3
|
||
lto = true
|
||
codegen-units = 1
|
||
panic = "abort"
|
||
|
||
[profile.dev]
|
||
# 開発用設定
|
||
opt-level = 0
|
||
debug = true
|