- 新增 git submodule deps/ipass(指向 ipass/ipass,pin 9c46e27),内核与通用能力插件统一收归子模块 - 删除仓库内 crates/ipass-core、vendor/ngx-rust、crates/plugin-domain - source/rust/Cargo.toml 改为 members=[plugin-sso, gateway] + exclude=[../../deps/ipass],ngx/nginx-sys/ipass-core 改为 ../../deps/ipass/... 的 path 依赖 - gateway 移除 plugin-domain 装配:PLUGINS=[SsoPlugin, CorePlugin],去除 ipass_proxy 指令 / domain 开关 / set_flag_domain - plugin-sso 新增 compat.rs 兼容层,重建被主线内核移除的 4 个 http 辅助函数(body_object/json_body/send_ct/redirect),scim/cas/portal/reset.rs 改走 crate::compat - 删除 tests/domain-e2e.sh,run-local-e2e.sh 的域名测试调用一并移除(e2e 由 7 套降为 6 套) - 更新 README/CLAUDE/docs 反映子模块结构;构建已验证:cargo build --release 通过,产出 libsso_gateway.dylib
23 lines
585 B
TOML
23 lines
585 B
TOML
[package]
|
|
name = "sso-gateway"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
publish.workspace = true
|
|
description = "iPass 统一网关装配层 —— module 壳 + 插件注册表,产出 nginx 动态模块"
|
|
|
|
[lib]
|
|
# cdylib:给 nginx load_module 加载
|
|
name = "sso_gateway"
|
|
crate-type = ["cdylib"]
|
|
|
|
[features]
|
|
default = ["export-modules"]
|
|
# 脱离 nginx 构建系统、单独产出动态模块时必须开启(生成 ngx_modules 表)
|
|
export-modules = []
|
|
|
|
[dependencies]
|
|
ngx.workspace = true
|
|
nginx-sys.workspace = true
|
|
ipass-core.workspace = true
|
|
plugin-sso.workspace = true
|