# 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 = "roon-api"
version = "0.5.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust SDK for Roon audio system (discovery, transport, browse)"
homepage = "https://github.com/shin1ohno/roon-rs"
readme = "README.md"
keywords = [
    "roon",
    "audio",
    "music",
    "sdk",
    "transport",
]
categories = [
    "multimedia::audio",
    "api-bindings",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/shin1ohno/roon-rs"
resolver = "2"

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

[[example]]
name = "browse_play"
path = "examples/browse_play.rs"

[[example]]
name = "browse_test"
path = "examples/browse_test.rs"

[[example]]
name = "list_zones"
path = "examples/list_zones.rs"

[[example]]
name = "memory_profile"
path = "examples/memory_profile.rs"

[[example]]
name = "volume_test"
path = "examples/volume_test.rs"

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

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

[dependencies.reqwest]
version = "0.12"
features = ["rustls-tls"]
default-features = false

[dependencies.roon-moo]
version = "0.5.1"

[dependencies.roon-sood]
version = "0.5.1"

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

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

[dependencies.tracing]
version = "0.1"

[dev-dependencies.anyhow]
version = "1"

[dev-dependencies.dirs-next]
version = "2"

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

[dev-dependencies.roon-moo]
version = "0.5.1"

[dev-dependencies.tokio-tungstenite]
version = "0.26"

[dev-dependencies.tracing-subscriber]
version = "0.3"
