- 添加 moka 0.12 依赖到 erp-plugin 和 erp-server - 重写 state.rs: 新增 EntityInfo (含 generated_fields) 和 moka Cache - AppState 新增 plugin_entity_cache 字段 - data_service.rs: 旧 resolve_entity_info 保留兼容,新增 resolve_entity_info_cached
27 lines
672 B
TOML
27 lines
672 B
TOML
[package]
|
|
name = "erp-plugin"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
description = "ERP WASM 插件运行时 — 生产级 Host API"
|
|
|
|
[dependencies]
|
|
wasmtime = "43"
|
|
wasmtime-wasi = "43"
|
|
erp-core = { workspace = true }
|
|
tokio = { workspace = true }
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
sea-orm = { workspace = true }
|
|
uuid = { workspace = true }
|
|
chrono = { workspace = true }
|
|
tracing = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
dashmap = "6"
|
|
toml = "0.8"
|
|
axum = { workspace = true }
|
|
utoipa = { workspace = true }
|
|
async-trait = { workspace = true }
|
|
sha2 = { workspace = true }
|
|
base64 = "0.22"
|
|
moka = { version = "0.12", features = ["sync"] }
|