# 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 = "2021"
rust-version = "1.68"
name = "keyring-search"
version = "0.2.1"
authors = ["Nick Wimmers <wimmers.nicholas@gmail.com>"]
exclude = [".github/"]
description = "Cross-platform library for searching the platform specific credential store, made possible by keyring-rs"
homepage = "https://github.com/wiimmers/keyring-search"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/wiimmers/keyring-search.git"

[dependencies.lazy_static]
version = "1"

[dev-dependencies.keyring]
version = "2.3.3"

[dev-dependencies.rand]
version = "0.8"

[features]
default = ["platform-all"]
linux-default-keyutils = ["linux-keyutils"]
linux-no-secret-service = ["linux-default-keyutils"]
linux-secret-service = ["linux-secret-service-rt-async-io-crypto-rust"]
linux-secret-service-rt-async-io-crypto-openssl = ["secret-service/rt-async-io-crypto-openssl"]
linux-secret-service-rt-async-io-crypto-rust = ["secret-service/rt-async-io-crypto-rust"]
linux-secret-service-rt-tokio-crypto-openssl = ["secret-service/rt-tokio-crypto-openssl"]
linux-secret-service-rt-tokio-crypto-rust = ["secret-service/rt-tokio-crypto-rust"]
platform-all = [
    "platform-linux",
    "platform-freebsd",
    "platform-openbsd",
    "platform-macos",
    "platform-ios",
    "platform-windows",
]
platform-freebsd = ["linux-secret-service"]
platform-ios = ["security-framework"]
platform-linux = [
    "linux-secret-service",
    "linux-keyutils",
]
platform-macos = ["security-framework"]
platform-openbsd = ["linux-secret-service"]
platform-windows = [
    "windows-sys",
    "regex",
    "byteorder",
]
windows-test-threading = []

[target."cfg(target_os = \"freebsd\")".dependencies.secret-service]
version = "3"
optional = true

[target."cfg(target_os = \"ios\")".dependencies.security-framework]
version = "2.6"
optional = true

[target."cfg(target_os = \"linux\")".dependencies.linux-keyutils]
version = "0.2"
features = ["std"]
optional = true

[target."cfg(target_os = \"linux\")".dependencies.secret-service]
version = "3"
optional = true

[target."cfg(target_os = \"macos\")".dependencies.security-framework]
version = "2.6"
optional = true

[target."cfg(target_os = \"openbsd\")".dependencies.secret-service]
version = "3"
optional = true

[target."cfg(target_os = \"windows\")".dependencies.byteorder]
version = "1.2"
optional = true

[target."cfg(target_os = \"windows\")".dependencies.regex]
version = "1.10.4"
optional = true

[target."cfg(target_os = \"windows\")".dependencies.windows-sys]
version = "0.52"
features = [
    "Win32_Foundation",
    "Win32_Security_Credentials",
]
optional = true
