# 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 = "onepass"
version = "3.0.0-pre.6"
build = "build.rs"
exclude = [
    ".githook/*",
    ".github/**",
    ".gitignore",
    "example/**",
    "data/onepass.entitlements",
    "onepass.provisionprofile",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A mostly-stateless deterministic password manager"
readme = "README.md"
keywords = [
    "password",
    "cryptography",
    "deterministic",
]
categories = ["command-line-utilities"]
license = "AGPL-3.0-only"
repository = "https://github.com/mrdomino/onepass"

[features]
default = [
    "keyring",
    "readpass-vendored",
]
macos-biometry = [
    "objc2",
    "objc2-core-foundation",
    "objc2-foundation",
    "objc2-local-authentication",
    "objc2-security",
    "zeroize",
]
readpass-libbsd = ["readpassphrase-3/libbsd-static"]
readpass-vendored = ["readpassphrase-3/linux-vendored"]

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

[dependencies.anyhow]
version = "1.0.102"

[dependencies.clap]
version = "4.6.1"
features = [
    "derive",
    "env",
    "unicode",
    "wrap_help",
]

[dependencies.keyring]
version = "3.6.3"
features = [
    "sync-secret-service",
    "apple-native",
    "windows-native",
    "crypto-openssl",
]
optional = true

[dependencies.onepass-conf]
version = "0.5.0"

[dependencies.onepass-seed]
version = "0.3.2"

[dependencies.readpassphrase-3]
version = "1.0.2"
features = [
    "windows-vendored",
    "zeroize",
]
default-features = false

[dependencies.secrecy]
version = "0.10.3"

[dev-dependencies.tempfile]
version = "3.27.0"

[target.'cfg(target_os = "macos")'.dependencies.objc2]
version = "0.6.3"
optional = true

[target.'cfg(target_os = "macos")'.dependencies.objc2-core-foundation]
version = "0.3.2"
optional = true

[target.'cfg(target_os = "macos")'.dependencies.objc2-foundation]
version = "0.3.2"
optional = true

[target.'cfg(target_os = "macos")'.dependencies.objc2-local-authentication]
version = "0.3.2"
optional = true

[target.'cfg(target_os = "macos")'.dependencies.objc2-security]
version = "0.3.2"
optional = true

[target.'cfg(target_os = "macos")'.dependencies.zeroize]
version = "1.8.2"
optional = true
