keyring 4.0.0

Sample code and CLI for the Rust Keyring
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.88.0"
name = "keyring"
version = "4.0.0"
authors = ["Daniel Brotsky <dev@brotsky.com>"]
build = false
exclude = [".github"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Sample code and CLI for the Rust Keyring"
homepage = "https://github.com/open-source-cooperative/keyring-rs/wiki/Keyring"
readme = "README.md"
keywords = [
    "password",
    "credential",
    "keychain",
    "keyring",
    "cross-platform",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/open-source-cooperative/keyring-rs"

[package.metadata.docs.rs]
targets = [
    "x86_64-unknown-linux-gnu",
    "x86_64-pc-windows-gnu",
    "x86_64-linux-android",
    "x86_64-unknown-freebsd",
    "aarch64-apple-darwin",
    "aarch64-apple-ios",
]

[lib]
name = "keyring"
path = "src/lib.rs"

[[bin]]
name = "keyring"
path = "src/main.rs"

[[example]]
name = "leak-test"
path = "examples/leak-test/main.rs"

[[example]]
name = "set-or-clear-three"
path = "examples/set-or-clear-three.rs"

[[example]]
name = "unit-test"
path = "examples/unit-test/main.rs"

[dependencies.base64]
version = "0.22.1"

[dependencies.clap]
version = "4.6.1"
features = ["derive"]

[dependencies.keyring-core]
version = "1.0.0"
features = ["sample"]

[dependencies.rpassword]
version = "7.4.0"

[dependencies.rprompt]
version = "2.2.0"

[dev-dependencies.fastrand]
version = "2.4.1"

[dev-dependencies.zeroize]
version = "1.8.2"

[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.dbus-secret-service-keyring-store]
version = "1.0.0"
features = [
    "crypto-rust",
    "vendored",
]

[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.zbus-secret-service-keyring-store]
version = "1.0.0"
features = ["crypto-rust"]

[target.'cfg(not(any(target_os = "ios", target_os = "android")))'.dependencies.db-keystore]
version = "0.4.2-pre.2"

[target.'cfg(target_os = "android")'.dependencies.android-native-keyring-store]
version = "1.0.0"

[target.'cfg(target_os = "ios")'.dependencies.apple-native-keyring-store]
version = "1.0.0"
features = ["protected"]

[target.'cfg(target_os = "linux")'.dependencies.linux-keyutils-keyring-store]
version = "1.0.0"

[target.'cfg(target_os = "macos")'.dependencies.apple-native-keyring-store]
version = "1.0.0"
features = [
    "keychain",
    "protected",
]

[target.'cfg(target_os = "windows")'.dependencies.windows-native-keyring-store]
version = "1.0.0"