# 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.84"
name = "bzr"
version = "0.1.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A CLI for Bugzilla, inspired by gh"
homepage = "https://github.com/randomparity/bzr"
readme = "README.md"
keywords = [
    "bugzilla",
    "cli",
    "bug-tracker",
]
categories = ["command-line-utilities"]
license = "MIT"
repository = "https://github.com/randomparity/bzr"
resolver = "3"

[features]
default = ["keyring"]
keyring = [
    "dep:keyring",
    "dep:rpassword",
]
test-helpers = [
    "dep:wiremock",
    "dep:tempfile",
]

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

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

[[test]]
name = "integration"
path = "tests/integration.rs"

[dependencies.base64]
version = "0.22"

[dependencies.clap]
version = ">=4.5.60, <4.6"
features = ["derive"]

[dependencies.colored]
version = "3"

[dependencies.dirs]
version = "6"

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

[dependencies.percent-encoding]
version = "2"

[dependencies.quick-xml]
version = "0.39"

[dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "rustls-tls-native-roots",
]
default-features = false

[dependencies.rpassword]
version = "7"
optional = true

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.tabled]
version = "0.20"

[dependencies.tempfile]
version = "3"
optional = true

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt",
    "sync",
]

[dependencies.toml]
version = "0.8"

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]

[dependencies.url]
version = "2"

[dependencies.wiremock]
version = ">=0.6, <0.6.5"
optional = true

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

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

[dev-dependencies.wiremock]
version = ">=0.6, <0.6.5"

[lints.clippy]
allow_attributes = "warn"
dbg_macro = "deny"
expect_used = "warn"
module_name_repetitions = "allow"
panic = "deny"
panic_in_result_fn = "deny"
print_stderr = "deny"
print_stdout = "deny"
similar_names = "allow"
todo = "deny"
unimplemented = "deny"
unwrap_used = "deny"

[lints.clippy.pedantic]
level = "warn"
priority = -1
