# 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"
name = "keyring"
version = "4.0.0-alpha.2"
authors = ["Daniel Brotsky <dev@brotsky.com>"]
build = false
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"

[features]
extension-module = ["pyo3/extension-module"]

[lib]
name = "rust_native_keyring"
crate-type = [
    "cdylib",
    "rlib",
]
path = "src/lib.rs"

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

[dependencies.base64]
version = "0.22.1"

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

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

[dependencies.pyo3]
version = "0.27"

[dependencies.rpassword]
version = "7.4.0"

[dependencies.rprompt]
version = "2.2.0"

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

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

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

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

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