# 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"
name = "edge-agent"
version = "0.5.3"
authors = ["Shin'ichi Ohno <sh1@mercari.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Device-host agent bridging IoT devices (Nuimo BLE controller) to services (Roon, Philips Hue) via a central weave-server"
homepage = "https://github.com/shin1ohno/edge-agent"
readme = "README.md"
keywords = [
    "iot",
    "nuimo",
    "roon",
    "hue",
    "edge-agent",
]
categories = [
    "command-line-utilities",
    "hardware-support",
]
license = "MIT"
repository = "https://github.com/shin1ohno/edge-agent"

[features]
default = ["roon"]
hue = [
    "dep:reqwest",
    "dep:bytes",
    "dep:mdns-sd",
]
macos = ["dep:rumqttc"]
roon = ["dep:roon-api"]

[[bin]]
name = "edge-agent"
path = "src/main.rs"

[dependencies.anyhow]
version = "1"

[dependencies.async-trait]
version = "0.1"

[dependencies.bytes]
version = "1"
optional = true

[dependencies.edge-core]
version = "0.5"

[dependencies.futures-util]
version = "0.3"

[dependencies.mdns-sd]
version = "0.11"
optional = true

[dependencies.nuimo]
version = "0.1.1"

[dependencies.reqwest]
version = "0.12"
features = [
    "rustls-tls",
    "json",
    "stream",
]
optional = true
default-features = false

[dependencies.roon-api]
version = "0.5.1"
optional = true

[dependencies.rumqttc]
version = "0.24"
optional = true

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = ["full"]

[dependencies.tokio-tungstenite]
version = "0.24"

[dependencies.toml]
version = "0.8"

[dependencies.tracing]
version = "0.1"

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

[dependencies.uuid]
version = "1"
features = [
    "v4",
    "serde",
]

[dependencies.weave-contracts]
version = "0.5"
