- Add workspace configuration to support plugins - Create nyash-file plugin with C ABI - Implement nyash_file_open/read/write/exists/free functions - Add libloading dependency with dynamic-file feature - Successfully build libnyash_file.so (1.55s build time) Next: Implement plugin loader in interpreter
18 lines
329 B
TOML
18 lines
329 B
TOML
[package]
|
||
name = "nyash-file"
|
||
version = "0.1.0"
|
||
edition = "2021"
|
||
|
||
[lib]
|
||
name = "nyash_file"
|
||
crate-type = ["cdylib"] # 動的ライブラリとして生成
|
||
|
||
[dependencies]
|
||
# C FFI用
|
||
libc = "0.2"
|
||
|
||
# Nyashの基本的な型定義が必要になるかも(後で検討)
|
||
# nyash-core = { path = "../.." }
|
||
|
||
[features]
|
||
default = [] |