# 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 = "oaat-controller"
version = "0.2.0"
authors = ["Bertrand Clech <renesenses@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Controller implementation for OAAT (Open Advanced Audio Transport)"
readme = false
license = "Apache-2.0"
repository = "https://github.com/renesenses/oaat"
resolver = "2"

[features]
default = []
tls = [
    "dep:tokio-rustls",
    "dep:rustls",
    "oaat-core/tls",
]

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

[dependencies.bytes]
version = "1"

[dependencies.hostname]
version = "0.4"

[dependencies.mdns-sd]
version = "0.20"

[dependencies.oaat-core]
version = "0.2.0"

[dependencies.rustls]
version = "0.23"
features = [
    "ring",
    "std",
]
optional = true
default-features = false

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

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

[dependencies.tokio-rustls]
version = "0.26"
optional = true

[dependencies.tracing]
version = "0.1"

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