- upgrade: SECRETS_UPGRADE_URL 改为构建时优先(option_env!),CI 自动注入 - upgrade: 支持运行时回退(.env/export),添加 dotenvy 加载 .env - 泛化示例:IP/实例 ID/域名/密钥名改为示例值(10.0.0.1、example.com 等) - tasks.json: 文件 secret 测试改用 test-fixtures/example-key.pem - 文档更新:AGENTS.md、README.md Made-with: Cursor
34 lines
1.2 KiB
TOML
34 lines
1.2 KiB
TOML
[package]
|
|
name = "secrets"
|
|
version = "0.9.2"
|
|
edition = "2024"
|
|
|
|
[dependencies]
|
|
aes-gcm = "^0.10.3"
|
|
anyhow = "^1.0.102"
|
|
argon2 = { version = "^0.5.3", features = ["std"] }
|
|
chrono = { version = "^0.4.44", features = ["serde"] }
|
|
clap = { version = "^4.6.0", features = ["derive"] }
|
|
dirs = "^6.0.0"
|
|
dotenvy = "^0.15"
|
|
flate2 = "^1.1.9"
|
|
keyring = { version = "^3.6.3", features = ["apple-native", "windows-native", "linux-native"] }
|
|
rand = "^0.10.0"
|
|
reqwest = { version = "^0.12", default-features = false, features = ["rustls-tls", "json"] }
|
|
rpassword = "^7.4.0"
|
|
self-replace = "^1.5.0"
|
|
semver = "^1.0.27"
|
|
serde = { version = "^1.0.228", features = ["derive"] }
|
|
serde_json = "^1.0.149"
|
|
serde_yaml = "^0.9"
|
|
sha2 = "^0.10.9"
|
|
sqlx = { version = "^0.8.6", features = ["runtime-tokio", "tls-rustls", "postgres", "uuid", "json", "chrono"] }
|
|
tar = "^0.4.44"
|
|
tempfile = "^3.19"
|
|
tokio = { version = "^1.50.0", features = ["rt-multi-thread", "macros", "fs", "io-util", "process", "signal"] }
|
|
toml = "^1.0.7"
|
|
tracing = "^0.1"
|
|
tracing-subscriber = { version = "^0.3", features = ["env-filter"] }
|
|
uuid = { version = "^1.22.0", features = ["serde"] }
|
|
zip = { version = "^8.2.0", default-features = false, features = ["deflate"] }
|