[package]
edition = "2024"
rust-version = "1.85"
name = "trackaudio"
version = "0.2.2"
build = false
exclude = [
"deny.toml",
".github/",
".gitignore",
".idea/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A high-level async client for the TrackAudio WebSocket API, enabling programmatic control, automation, and custom integrations for VATSIM voice communication."
readme = "README.md"
keywords = [
"vatsim",
"trackaudio",
]
categories = [
"api-bindings",
"asynchronous",
"network-programming",
"web-programming::websocket",
]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/MorpheusXAUT/trackaudio-rs"
[features]
default = [
"reconnect-jitter",
"tracing",
]
reconnect-jitter = ["dep:rand"]
tracing = ["dep:tracing"]
[lib]
name = "trackaudio"
path = "src/lib.rs"
[[example]]
name = "add_station"
path = "examples/add_station.rs"
[[example]]
name = "auto_reconnect"
path = "examples/auto_reconnect.rs"
[[example]]
name = "change_main_volume"
path = "examples/change_main_volume.rs"
[[example]]
name = "event_listener"
path = "examples/event_listener.rs"
[[example]]
name = "set_station_state"
path = "examples/set_station_state.rs"
[dependencies.futures-util]
version = "0.3"
[dependencies.rand]
version = "0.10"
optional = true
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.thiserror]
version = "2.0"
[dependencies.tokio]
version = "1.51"
features = [
"macros",
"rt",
"time",
]
[dependencies.tokio-tungstenite]
version = "0.29"
[dependencies.tokio-util]
version = "0.7"
[dependencies.tracing]
version = "0.1"
optional = true
[dependencies.url]
version = "2.5"
[dev-dependencies.assert_matches]
version = "1.5"
[dev-dependencies.test-log]
version = "0.2"
features = ["trace"]
[dev-dependencies.tokio]
version = "1.51"
features = [
"macros",
"rt-multi-thread",
"time",
]