Files
ssw__ipass/rust/gateway/Cargo.toml
T
admin 85ea0a1531 refactor(plugin): P4 拆 plugin-apix —— API 代理迁入独立插件,过渡期路由清空
- plugin-apix 新 crate:apix/handlers/api/config/models/store
- ApiProxy/ApiProxyStore、api-proxies.json 读写、ax: 键空间与 APIX_* 常量自内核迁入
- ApiProxyHandler 与 $apix_* 六变量注册归 ApixPlugin;用量记账仍走 plugin_llm::stats(同一片键空间、单一写入口)
- gateway 路由表只剩 trend 组合端点(需 users+upstreams+apix 三方名册)
- 行为等价:262 项回归全绿(gateway 102 + llm 160)
2026-09-13 12:16:47 +08:00

31 lines
796 B
TOML

[package]
name = "ipass-gateway"
version = "2.0.0"
edition.workspace = true
publish = false
description = "尚数网 统一网关(iPass 山海关)—— nginx + Rust 扩展模块实现(模块壳 + 插件装配)"
[lib]
name = "ipass_gateway"
# cdylib 给 nginx 加载;rlib 便于单元测试
crate-type = ["cdylib", "rlib"]
[features]
default = ["export-modules"]
# 脱离 nginx 构建系统、单独产出动态模块时必须开启(生成 ngx_modules 表)
export-modules = []
[dependencies]
ngx.workspace = true
nginx-sys.workspace = true
ipass-core.workspace = true
plugin-domain.workspace = true
plugin-llm.workspace = true
plugin-apix.workspace = true
serde.workspace = true
serde_json.workspace = true
sha2.workspace = true
getrandom.workspace = true
libc.workspace = true