[dependencies.log]
version = "0.4.22"
[dependencies.openssl]
optional = true
version = "0.10.66"
[dev-dependencies.base64]
version = "0.22"
[dev-dependencies.clap]
features = ["derive", "wrap_help"]
version = "4"
[dev-dependencies.doc-comment]
version = "0.3"
[dev-dependencies.env_logger]
version = "0.11.5"
[dev-dependencies.fastrand]
version = "2"
[dev-dependencies.rpassword]
version = "7"
[dev-dependencies.rprompt]
version = "2"
[dev-dependencies.whoami]
version = "1.5"
[[example]]
crate-type = ["staticlib"]
name = "iostest"
path = "examples/ios.rs"
[[example]]
name = "keyring-cli"
path = "examples/cli.rs"
[features]
apple-native = ["dep:security-framework"]
async-io = ["zbus?/async-io"]
async-secret-service = ["dep:secret-service", "dep:zbus"]
crypto-openssl = ["dbus-secret-service?/crypto-openssl", "secret-service?/crypto-openssl"]
crypto-rust = ["dbus-secret-service?/crypto-rust", "secret-service?/crypto-rust"]
linux-native = ["dep:linux-keyutils"]
linux-native-async-persistent = ["linux-native", "async-secret-service"]
linux-native-sync-persistent = ["linux-native", "sync-secret-service"]
sync-secret-service = ["dep:dbus-secret-service"]
tokio = ["zbus?/tokio"]
vendored = ["dbus-secret-service?/vendored", "openssl?/vendored"]
windows-native = ["dep:windows-sys", "dep:byteorder"]
[lib]
name = "keyring"
path = "src/lib.rs"
[package]
authors = ["Walther Chen <walther.chen@gmail.com>", "Daniel Brotsky <dev@brotsky.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
description = "Cross-platform library for managing passwords/credentials"
edition = "2021"
exclude = [".github/"]
homepage = "https://github.com/hwchen/keyring-rs"
keywords = ["password", "credential", "keychain", "keyring", "cross-platform"]
license = "MIT OR Apache-2.0"
name = "keyring"
readme = "README.md"
repository = "https://github.com/hwchen/keyring-rs.git"
rust-version = "1.75"
version = "3.6.3"
[package.metadata.docs.rs]
default-target = "x86_64-unknown-linux-gnu"
features = ["apple-native", "windows-native", "linux-native-sync-persistent", "crypto-rust"]
targets = ["x86_64-unknown-linux-gnu", "aarch64-apple-darwin", "aarch64-apple-ios", "x86_64-pc-windows-msvc"]
[target.'cfg(target_os = "freebsd")'.dependencies.dbus-secret-service]
optional = true
version = "4.0.1"
[target.'cfg(target_os = "freebsd")'.dependencies.secret-service]
optional = true
version = "4"
[target.'cfg(target_os = "freebsd")'.dependencies.zbus]
optional = true
version = "4"
[target.'cfg(target_os = "ios")'.dependencies.security-framework]
optional = true
version = "2"
[target.'cfg(target_os = "linux")'.dependencies.dbus-secret-service]
optional = true
version = "4.0.0-rc.2"
[target.'cfg(target_os = "linux")'.dependencies.linux-keyutils]
features = ["std"]
optional = true
version = "0.2"
[target.'cfg(target_os = "linux")'.dependencies.secret-service]
optional = true
version = "4"
[target.'cfg(target_os = "linux")'.dependencies.zbus]
optional = true
version = "4"
[target.'cfg(target_os = "macos")'.dependencies.security-framework]
optional = true
version = "3"
[target.'cfg(target_os = "openbsd")'.dependencies.dbus-secret-service]
optional = true
version = "4.0.0-rc.1"
[target.'cfg(target_os = "openbsd")'.dependencies.secret-service]
optional = true
version = "4"
[target.'cfg(target_os = "openbsd")'.dependencies.zbus]
optional = true
version = "4"
[target.'cfg(target_os = "windows")'.dependencies.byteorder]
optional = true
version = "1.2"
[target.'cfg(target_os = "windows")'.dependencies.windows-sys]
features = ["Win32_Foundation", "Win32_Security_Credentials"]
optional = true
version = "0.60"
[target.'cfg(target_os = "windows")'.dependencies.zeroize]
version = "1.8.1"
[[test]]
name = "basic"
path = "tests/basic.rs"
[[test]]
name = "threading"
path = "tests/threading.rs"