# 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 = "bws"
version = "2.1.0"
authors = ["Bitwarden Inc"]
build = "build.rs"
exclude = [
    "Dockerfile*",
    "entitlements.plist",
    "*.sh",
    "scripts",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
Bitwarden Secrets Manager CLI
"""
homepage = "https://bitwarden.com"
readme = "README.md"
keywords = [
    "bitwarden",
    "secrets-manager",
    "cli",
]
license-file = "LICENSE"
repository = "https://github.com/bitwarden/sdk-sm"
resolver = "2"

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

[dependencies.bat]
version = "0.26.0"
features = ["regex-fancy"]
default-features = false

[dependencies.bitwarden]
version = "=2.1.0"
features = ["secrets"]

[dependencies.bitwarden-cli]
version = "3.0.0"

[dependencies.chrono]
version = "0.4.38"
features = [
    "clock",
    "std",
]
default-features = false

[dependencies.clap]
version = "4.5.37"
features = [
    "derive",
    "env",
    "string",
]

[dependencies.clap_complete]
version = "4.5.37"

[dependencies.color-eyre]
version = "0.6.3"

[dependencies.comfy-table]
version = "7.1.1"

[dependencies.directories]
version = "6.0.0"

[dependencies.env_logger]
version = "0.11.1"

[dependencies.itertools]
version = "0.14.0"

[dependencies.log]
version = "0.4.20"

[dependencies.regex]
version = "1.10.3"
features = [
    "std",
    "perf",
]
default-features = false

[dependencies.serde]
version = "1.0.196"

[dependencies.serde_json]
version = "1.0.113"

[dependencies.serde_yaml]
version = "0.9"

[dependencies.supports-color]
version = "3.0.0"

[dependencies.thiserror]
version = "2.0.18"

[dependencies.tokio]
version = "1.36.0"
features = [
    "macros",
    "rt-multi-thread",
]

[dependencies.toml]
version = "0.9.0"

[dependencies.uuid]
version = "1.7.0"
features = ["serde"]

[dependencies.which]
version = "8.0.0"

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

[build-dependencies.bitwarden-cli]
version = "3.0.0"

[build-dependencies.clap]
version = "4.5.4"
features = [
    "derive",
    "string",
]

[build-dependencies.clap_complete]
version = "4.5.2"

[build-dependencies.clap_mangen]
version = "0.2.20"

[build-dependencies.uuid]
version = "1.7.0"

[lints.clippy]
allow-attributes = "deny"
unused_async = "deny"
unwrap_used = "deny"
