- 拆分 web.rs 为 web/ 子模块;统一 client_ip 提取 - core: user_scope SQL 复用、env_map N+1 消除、FETCH_ALL 上限调整 - entries 列表页并行查询;PgPool 去 Arc;结构化 NotFound 等错误 - CI: SSH 私钥安全写入;crypto/hex 与依赖清理;MCP 输入长度校验 - AGENTS: API Key 明文存储设计说明
28 lines
502 B
TOML
28 lines
502 B
TOML
[package]
|
|
name = "secrets-core"
|
|
version = "0.1.0"
|
|
edition.workspace = true
|
|
|
|
[lib]
|
|
name = "secrets_core"
|
|
path = "src/lib.rs"
|
|
|
|
[dependencies]
|
|
aes-gcm.workspace = true
|
|
anyhow.workspace = true
|
|
thiserror.workspace = true
|
|
chrono.workspace = true
|
|
hex = "0.4"
|
|
rand.workspace = true
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
serde_yaml.workspace = true
|
|
sqlx.workspace = true
|
|
toml.workspace = true
|
|
tokio.workspace = true
|
|
tracing.workspace = true
|
|
uuid.workspace = true
|
|
|
|
[dev-dependencies]
|
|
tempfile = "3"
|