# 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.85"
name = "mqttv5-cli"
version = "0.11.3"
authors = ["fabriciobracht <fabricio@bracht.dev>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Superior CLI tool for MQTT v5.0 - unified client and broker commands with ergonomic input design"
documentation = "https://docs.rs/mqttv5-cli"
readme = "README.md"
keywords = [
    "mqtt",
    "cli",
    "client",
    "broker",
    "iot",
]
categories = [
    "command-line-utilities",
    "network-programming",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/LabOverWire/mqtt-lib"

[features]
default = []
opentelemetry = ["mqtt5/opentelemetry"]

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

[dependencies.anyhow]
version = "1.0"

[dependencies.getrandom]
version = "0.3"

[dependencies.hex]
version = "0.4.3"

[dependencies.mqtt5]
version = "0.11"

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

[dependencies.serde_json]
version = "1.0.145"

[dependencies.tracing]
version = "0.1"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.argon2]
version = "0.5"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.clap]
version = "4.5"
features = [
    "derive",
    "env",
]

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.dialoguer]
version = "0.12"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.rand]
version = "0.9.2"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.rpassword]
version = "7.4"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.rustls]
version = "0.23"
features = ["ring"]

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio]
version = "1"
features = ["full"]

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.toml]
version = "0.9"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]
