- source/rust → rust/ - source/conf → conf/ - source/www → www/ - source/data-seed → data-seed/ - source/data → data/ - scripts/ 保留(语义不对应 ipass deploy/) - /build/ 加入 .gitignore(本机 nginx 源码树) - README.md 目录树同步 + build 路径 /tmp/sso-build → ./build - Cargo.toml path 依赖 '../../deps/ipass' → '../deps/ipass' - CLAUDE.md 同步路径示例 cargo check 通过(52s);release build 通过(1m26s),产物 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
|