- API:桌面登录 session、Google 托管回调与轮询 - Desktop:轮询登录;bootstrap 在 vault 未解锁时不返回 shell,避免跳过主密码 - 文档与 deploy/.env.example 对齐 GOOGLE_OAUTH_* 与 SECRETS_PUBLIC_BASE_URL
31 lines
744 B
TOML
31 lines
744 B
TOML
[package]
|
|
name = "secrets-api"
|
|
version = "0.1.0"
|
|
edition.workspace = true
|
|
|
|
[[bin]]
|
|
name = "secrets-api"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
anyhow.workspace = true
|
|
axum.workspace = true
|
|
dotenvy.workspace = true
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
sqlx.workspace = true
|
|
tokio.workspace = true
|
|
tracing.workspace = true
|
|
tracing-subscriber.workspace = true
|
|
uuid.workspace = true
|
|
chrono.workspace = true
|
|
reqwest.workspace = true
|
|
sha2.workspace = true
|
|
url.workspace = true
|
|
base64 = "0.22.1"
|
|
|
|
secrets-application = { path = "../../crates/application" }
|
|
secrets-device-auth = { path = "../../crates/device-auth" }
|
|
secrets-domain = { path = "../../crates/domain" }
|
|
secrets-infrastructure-db = { path = "../../crates/infrastructure-db" }
|