| 1 | [package] |
| 2 | name = "codewhale-secrets" |
| 3 | version.workspace = true |
| 4 | edition.workspace = true |
| 5 | rust-version.workspace = true |
| 6 | license.workspace = true |
| 7 | repository.workspace = true |
| 8 | description = "Secret storage backends for Codewhale, with OS keyring and file fallback" |
| 9 | |
| 10 | [dependencies] |
| 11 | codewhale-paths = { path = "../paths", version = "0.9.4" } |
| 12 | chrono.workspace = true |
| 13 | serde = { workspace = true } |
| 14 | serde_json = { workspace = true } |
| 15 | sha2.workspace = true |
| 16 | tempfile.workspace = true |
| 17 | thiserror = { workspace = true } |
| 18 | tracing = { workspace = true } |
| 19 | |
| 20 | [target.'cfg(target_os = "macos")'.dependencies] |
| 21 | keyring = { version = "3", features = ["apple-native"] } |
| 22 | |
| 23 | [target.'cfg(target_os = "windows")'.dependencies] |
| 24 | keyring = { version = "3", features = ["windows-native"] } |
| 25 | |
| 26 | [target.'cfg(all(target_os = "linux", not(target_env = "ohos"), not(target_env = "musl")))'.dependencies] |
| 27 | keyring = { version = "3", features = ["linux-native-sync-persistent", "crypto-rust"] } |
| 28 | |
| 29 | [dev-dependencies] |
| 30 | tempfile.workspace = true |
| 31 |