[package]
edition = "2021"
name = "sendspin"
version = "0.1.2"
authors = ["Sendspin Contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Hyper-efficient Rust implementation of the Sendspin Protocol for synchronized multi-room audio streaming"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/Sendspin/sendspin-rs"
[features]
default = []
native-tls = ["tokio-tungstenite/native-tls"]
[lib]
name = "sendspin"
path = "src/lib.rs"
[[example]]
name = "basic_client"
path = "examples/basic_client.rs"
[[example]]
name = "minimal_test"
path = "examples/minimal_test.rs"
[[example]]
name = "player"
path = "examples/player.rs"
[[example]]
name = "secure_socket"
path = "examples/secure_socket.rs"
required-features = ["native-tls"]
[[test]]
name = "audio_output"
path = "tests/audio_output.rs"
[[test]]
name = "audio_types"
path = "tests/audio_types.rs"
[[test]]
name = "binary_frames"
path = "tests/binary_frames.rs"
[[test]]
name = "buffer_pool"
path = "tests/buffer_pool.rs"
[[test]]
name = "clock_sync"
path = "tests/clock_sync.rs"
[[test]]
name = "pcm_decoder"
path = "tests/pcm_decoder.rs"
[[test]]
name = "protocol_client"
path = "tests/protocol_client.rs"
[[test]]
name = "protocol_client_builder"
path = "tests/protocol_client_builder.rs"
[[test]]
name = "protocol_messages"
path = "tests/protocol_messages.rs"
[[test]]
name = "scheduler"
path = "tests/scheduler.rs"
[[test]]
name = "sync_correction"
path = "tests/sync_correction.rs"
[dependencies.cpal]
version = "0.17"
[dependencies.crossbeam]
version = "0.8"
[dependencies.futures-util]
version = "0.3"
[dependencies.log]
version = "0.4"
[dependencies.parking_lot]
version = "0.12"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.thiserror]
version = "1.0"
[dependencies.tokio]
version = "1.40"
features = ["full"]
[dependencies.tokio-tungstenite]
version = "0.24"
[dependencies.typed-builder]
version = "0.23.2"
[dependencies.uuid]
version = "1.10"
features = [
"v4",
"serde",
]
[dev-dependencies.clap]
version = "4.5"
features = ["derive"]
[dev-dependencies.env_logger]
version = "0.11"
[dev-dependencies.tokio-test]
version = "0.4"
[profile.release]
opt-level = 3
lto = true
codegen-units = 1