[package]
name = "keycrypt"
version = "0.2.0"
edition = "2024"
description = "AES-256-GCM encryption helpers backed by the OS keychain (auto-init key on encrypt, strict decrypt, Zeroize in-memory keys)."
license = "MIT OR Apache-2.0"
readme = "README.md"
repository = "https://github.com/efexos/keycrypt"
homepage = "https://github.com/efexos/keycrypt"
documentation = "https://docs.rs/keycrypt"
keywords = ["crypto", "encryption", "aes-gcm", "keychain", "keyring"]
categories = ["cryptography", "os", "encoding"]
[lib]
path = "source/lib.rs"
[dependencies]
aes-gcm = "0.10.3"
base64 = "0.22.1"
thiserror = "2.0.18"
zeroize = "1.8.2"
[target.'cfg(target_os = "macos")'.dependencies]
keyring = { version = "3.6.3", default-features = false, features = ["apple-native"] }
[target.'cfg(target_os = "linux")'.dependencies]
keyring = { version = "3.6.3", default-features = false, features = ["linux-native"] }
[target.'cfg(windows)'.dependencies]
keyring = { version = "3.6.3", default-features = false, features = ["windows-native"] }
[features]
default = []
linux-persistent = [
"keyring/linux-native-sync-persistent",
"keyring/sync-secret-service",
"keyring/crypto-rust",
]